{"id":"CVE-2026-18497","state":"PUBLISHED","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.","publishedAt":"2026-08-07T14:19:42.854Z","updatedAt":"2026-08-12T13:51:47.080Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"certcc","products":["Sean Barrett (nothings) nothings stb"],"affected":[{"vendor":"Sean Barrett (nothings)","product":"nothings stb","versions":[{"version":"1.26","status":"affected"}]}],"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"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/18xxx/CVE-2026-18497.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-18497","state":"PUBLISHED","datePublished":"2026-08-07T14:19:42.854Z","dateUpdated":"2026-08-12T13:51:47.080Z","assignerShortName":"certcc","assignerOrgId":"37e5125f-f79b-445b-8fad-9564f167944b","dateReserved":"2026-07-31T15:58:31.185Z"},"containers":{"cna":{"title":"The nothings stb TrueType library contains a heap buffer overflow vulnerability","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."}],"affected":[{"vendor":"Sean Barrett (nothings)","product":"nothings stb","versions":[{"version":"1.26","status":"affected"}]}],"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"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-122: Heap-based Buffer Overflow"}]}],"providerMetadata":{"shortName":"certcc","orgId":"37e5125f-f79b-445b-8fad-9564f167944b","dateUpdated":"2026-08-07T14:19:42.854Z"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"VINCE 3.0.43","env":"prod","origin":"https://cveawg.mitre.org/api/cve/CVE-2026-18497"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.kb.cert.org/vuls/id/987105"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-08-07T15:17:50.021Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nothings/stb/issues/1905","tags":["exploit"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.1,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-07T17:58:51.313628Z","id":"CVE-2026-18497","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","type":"CWE","lang":"en","description":"CWE-122 Heap-based Buffer Overflow"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-12T13:51:47.080Z"}}]}}}