{"api_version":"1","generated_at":"2026-08-10T23:11:17+00:00","cve":"CVE-2026-18497","urls":{"html":"https://cve.report/CVE-2026-18497","api":"https://cve.report/api/cve/CVE-2026-18497.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-18497","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-18497"},"summary":{"title":"The nothings stb TrueType library contains a heap buffer overflow vulnerability","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.\r\n\r\nAn 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.","state":"PUBLISHED","assigner":"certcc","published_at":"2026-08-07 15:16:59","updated_at":"2026-08-07 16:17:22"},"problem_types":["CWE-122: Heap-based Buffer Overflow"],"metrics":[],"references":[{"url":"https://github.com/nothings/stb","name":"https://github.com/nothings/stb","refsource":"cret@cert.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://kb.cert.org/vuls/id/987105","name":"https://kb.cert.org/vuls/id/987105","refsource":"cret@cert.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.kb.cert.org/vuls/id/987105","name":"https://www.kb.cert.org/vuls/id/987105","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cwe.mitre.org/data/definitions/122.html","name":"https://cwe.mitre.org/data/definitions/122.html","refsource":"cret@cert.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/nothings/stb/issues/1905","name":"https://github.com/nothings/stb/issues/1905","refsource":"cret@cert.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-18497","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18497","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Sean Barrett (nothings)","product":"nothings stb","version":"affected 1.26","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"18497","cve":"CVE-2026-18497","epss":"0.001570000","percentile":"0.052930000","score_date":"2026-08-09","updated_at":"2026-08-10 00:07:34"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-08-07T15:17:50.021Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://www.kb.cert.org/vuls/id/987105"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"nothings stb","vendor":"Sean Barrett (nothings)","versions":[{"status":"affected","version":"1.26"}]}],"descriptions":[{"lang":"en","value":"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.\r\n\r\nAn 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."}],"problemTypes":[{"descriptions":[{"description":"CWE-122: Heap-based Buffer Overflow","lang":"en"}]}],"providerMetadata":{"dateUpdated":"2026-08-07T14:19:42.854Z","orgId":"37e5125f-f79b-445b-8fad-9564f167944b","shortName":"certcc"},"references":[{"url":"https://cwe.mitre.org/data/definitions/122.html"},{"url":"https://github.com/nothings/stb"},{"url":"https://github.com/nothings/stb/issues/1905"},{"url":"https://kb.cert.org/vuls/id/987105"}],"source":{"discovery":"UNKNOWN"},"title":"The nothings stb TrueType library contains a heap buffer overflow vulnerability","x_generator":{"engine":"VINCE 3.0.43","env":"prod","origin":"https://cveawg.mitre.org/api/cve/CVE-2026-18497"}}},"cveMetadata":{"assignerOrgId":"37e5125f-f79b-445b-8fad-9564f167944b","assignerShortName":"certcc","cveId":"CVE-2026-18497","datePublished":"2026-08-07T14:19:42.854Z","dateReserved":"2026-07-31T15:58:31.185Z","dateUpdated":"2026-08-07T15:17:50.021Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-07 15:16:59","lastModifiedDate":"2026-08-07 16:17:22","problem_types":["CWE-122: Heap-based Buffer Overflow"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"18497","Ordinal":"1","Title":"The nothings stb TrueType library contains a heap buffer overflo","CVE":"CVE-2026-18497","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"18497","Ordinal":"1","NoteData":"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.\r\n\r\nAn 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.","Type":"Description","Title":"The nothings stb TrueType library contains a heap buffer overflo"}]}}}