SecurityContext

CVE-2026-58496: Thor Vector Graphics - Out of Bounds Read

  • Cve: CVE-2026-58496
  • Name: Thor Vector Graphics - Out of Bounds Read
  • Description: 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.
  • Impact: Attackers can cause application crashes or disclose adjacent heap memory, potentially leaking sensitive information.
  • Remediation: Update to version 1.0.7 or later.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: denial_of_service, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
  • Epss score: 0.00324
  • Epss percentile: 0.25672
  • Assignee: [email protected]
  • Published at: 2026-10-27T23:17:06Z
  • Age in days: 28
  • Modified at: 2026-11-02T20:17:46Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-58496
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-125Out-of-bounds Read

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/thorvg/thorvg/commit/1dc232a33535946b5eed5fd65e993b13226da0ca
https://github.com/thorvg/thorvg/releases/tag/v1.0.7
https://github.com/thorvg/thorvg/security/advisories/GHSA-crfw-c34f-vqrj

Projects

RepositoryLink kindsIndexedUrl
thorvg/thorvgcommit, fix, releases, security_advisoryyes/v1/repositories/thorvg/thorvg

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts