
CVE catalog
CVE-2026-18497
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__GetGlyphShape
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.18% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libstb | sid | 0.0~git20250907.fede005+ds-1 | vulnerable |
| Debian | libstb | forky | 0.0~git20250907.fede005+ds-1 | vulnerable |
| Debian | libstb | trixie | 0.0~git20241109.5c20573+ds-1 | vulnerable |
| Debian | libstb | bookworm | 0.0~git20220908.8b5f1f3+ds-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libstb | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | libstb | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | libstb | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | libstb | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libstb0]Affected
Source package: [libstb]
Details (2)
0.0~git20220908.8b5f1f3+ds-1· amd64 · bookwormAffected
nvd · libstb · debian · bookworm; nvd · libstb · debian · 12
0.0~git20220908.8b5f1f3+ds-1· arm64 · bookwormAffected
nvd · libstb · debian · bookworm; nvd · libstb · debian · 12
- [libstb-dev]Affected
Source package: [libstb]
Details (2)
0.0~git20220908.8b5f1f3+ds-1· amd64 · bookwormAffected
nvd · libstb · debian · bookworm; nvd · libstb · debian · 12
0.0~git20220908.8b5f1f3+ds-1· arm64 · bookwormAffected
nvd · libstb · debian · bookworm; nvd · libstb · debian · 12
[Debian 13 (Trixie)]
- [libstb0t64]Affected
Source package: [libstb]
Details (2)
0.0~git20241109.5c20573+ds-1· amd64 · trixieAffected
nvd · libstb · debian · 13
0.0~git20241109.5c20573+ds-1· arm64 · trixieAffected
nvd · libstb · debian · 13
- [libstb-dev]Affected
Source package: [libstb]
Details (2)
0.0~git20241109.5c20573+ds-1· amd64 · trixieAffected
nvd · libstb · debian · 13
0.0~git20241109.5c20573+ds-1· arm64 · trixieAffected
nvd · libstb · debian · 13
Observed:
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://nvd.nist.gov/vuln/detail/CVE-2026-18497]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-18497]
- [https://security-tracker.debian.org/tracker/CVE-2026-18497]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-18497.json]
- [https://www.kb.cert.org/vuls/id/987105]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]