SecurityContext

CVE-2026-18497: nothings stb TrueType - Out of Bounds Read

  • Cve: CVE-2026-18497
  • Name: nothings stb TrueType - Out of Bounds Read
  • Description: A heap-buffer-overflow vulnerability exists in the nothings stb TrueType library, up to version 1.26, that is used for parsing TrueType font files. The vulnerability exists in the stbtt__GetGlyphShapeTT() function within the nothings stb_truetype.h library when parsing malformed TTF (TrueType Font) files. The vulnerability resides in the glyph data parsing path. An attacker can craft a malformed TTF file with an inflated endPtsOfContours value and truncate the remaining glyph data. When an application utilizing stb_truetype.h (such as various game engines or graphics software) attempts to load, bake, or render this malformed font via stbtt_GetGlyphShape(), the parser will attempt to read past the end of the glyph data buffer, triggering the out-of-bounds read.
  • Impact: Attackers can cause out-of-bounds memory read, potentially leading to application crashes or information disclosure.
  • Remediation: Update to the latest version of the nothings stb TrueType library.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
  • Epss score: 0.00176
  • Epss percentile: 0.07106
  • Assignee: [email protected]
  • Published at: 2026-08-07T15:16:59Z
  • Age in days: 109
  • Modified at: 2026-10-23T21:10:00Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-18497
  • 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-122Heap-based Buffer Overflow

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://cwe.mitre.org/data/definitions/122.html
https://github.com/nothings/stb
https://github.com/nothings/stb/issues/1905
https://kb.cert.org/vuls/id/987105
https://www.kb.cert.org/vuls/id/987105

Projects

RepositoryLink kindsIndexedUrl
nothings/stbissuesyes/v1/repositories/nothings/stb

Index

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

Exploitation

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