CVE-2026-18497The nothings stb TrueType library contains a heap buffer overflow vulnerability
Updated under an hour ago ()
Does this affect you?
It affects Sean Barrett (nothings) nothings stb. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.1 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Weakness (CWE)
- CWE-122
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- certcc
- NVD analysis
- Deferred
- Record last updated
- Aug 12, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Sean Barrett (nothings) nothings stb sean_barrett_nothings:nothings_stb (from the name) | 1.26 | CNA record |
References
- 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
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.