{"id":"CVE-2026-58496","aliases":["CVE-2026-58496"],"related":[],"kind":"vulnerability","state":"published","title":"ThorVG: Out-of-bounds Read in SFNT/TTF Font Loader via Memory API","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-27T22:18:34.301Z","modified":"2026-11-02T20:17:46.827Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"< 1.0.7","status":"affected"}],"vendor":"thorvg","product":"thorvg","source":"cvelist"}],"references":[{"url":"https://github.com/thorvg/thorvg/security/advisories/GHSA-crfw-c34f-vqrj","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/thorvg/thorvg/commit/1dc232a33535946b5eed5fd65e993b13226da0ca","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/thorvg/thorvg/releases/tag/v1.0.7","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-02T19:46:00.737Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58496","url":"https://www.cve.org/CVERecord?id=CVE-2026-58496","licence":"CVE Terms of Use","modified":"2026-11-02T19:46:26.453Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58496","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58496","licence":"Public domain","modified":"2026-11-02T20:17:46.827Z"}],"updatedAt":"2026-11-25T22:59:47.483Z","epss":{"score":0.00324,"percentile":0.27439,"date":"2026-12-01T12:00:22.000Z"}}