BaselineWatch
Desk

CVE-2026-58496

4.3 medium Deferred

Thor Vector Graphics (ThorVG) is a production-ready vector graphics engine. Prior to 1.0.7, the `SFNT/TTF` font loader's `SfntLoader::gen` function in `tvgSfntLoader.cpp` reads `data[0] through data[3]` to identify the font type without first checking that the input buffer contains at least four bytes. Loading an undersized font directly from memory through public APIs such as `tvg::Text::load` causes an out-of-bounds read. Loading through a file path using `mmap` can mask the read because of page alignment; the memory-loading API directly exposes it. Depending on memory layout, a malformed short font may crash the consuming application or disclose adjacent heap memory. This issue is fixed in version 1.0.7.

Fix

Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.

Change history 4

  1. StatusPublished → DeferredNVD modified 2026-10-28 15:24
  2. StatusReceived → PublishedNVD modified 2026-10-27 22:18
  3. StatusPublished → ReceivedNVD modified 2026-10-27 23:17
  4. First seenCVSS 4.3 · thorvgNVD modified 2026-10-27 22:18

Affected (CPE criteria) 0

NVD has not attached CPE configurations yet.

References 3