{"id":"CVE-2026-18497","published":"2026-08-07T14:19:42Z","modified":"2026-08-12T13:51:47Z","title":"The nothings stb TrueType library contains a heap buffer overflow vulnerability","vendor":"Sean Barrett (nothings)","product":"nothings stb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00176,"percentile":0.04286,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://cwe.mitre.org/data/definitions/122.html","tags":[]},{"url":"https://github.com/nothings/stb","tags":[]},{"url":"https://github.com/nothings/stb/issues/1905","tags":[]},{"url":"https://kb.cert.org/vuls/id/987105","tags":[]},{"url":"https://www.kb.cert.org/vuls/id/987105","tags":[]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":0.86},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"sean-barrett-nothings","affectedVersions":[{"vendor":"Sean Barrett (nothings)","product":"nothings stb","versions":["1.26"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-07T17:58:51.313628Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-54489","exploited":false,"provenance":"source"}}