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

[CVE catalog]

Severity
High · CVSS 7.3CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibstbsid0.0~git20250907.fede005+ds-1vulnerable
Debianlibstbforky0.0~git20250907.fede005+ds-1vulnerable
Debianlibstbtrixie0.0~git20241109.5c20573+ds-1vulnerable
Debianlibstbbookworm0.0~git20220908.8b5f1f3+ds-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibstbsourcesid(unfixed)unimportantNot reportedNot reported
Debianlibstbsourceforky(unfixed)unimportantNot reportedNot reported
Debianlibstbsourcetrixie(unfixed)unimportantNot reportedNot reported
Debianlibstbsourcebookworm(unfixed)unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libstb0]Affected

    Source package: [libstb]

    Details (2)
    • 0.0~git20220908.8b5f1f3+ds-1 · amd64 · bookworm

      Affected

      nvd · libstb · debian · bookworm; nvd · libstb · debian · 12

    • 0.0~git20220908.8b5f1f3+ds-1 · arm64 · bookworm

      Affected

      nvd · libstb · debian · bookworm; nvd · libstb · debian · 12

  • [libstb-dev]Affected

    Source package: [libstb]

    Details (2)
    • 0.0~git20220908.8b5f1f3+ds-1 · amd64 · bookworm

      Affected

      nvd · libstb · debian · bookworm; nvd · libstb · debian · 12

    • 0.0~git20220908.8b5f1f3+ds-1 · arm64 · bookworm

      Affected

      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 · trixie

      Affected

      nvd · libstb · debian · 13

    • 0.0~git20241109.5c20573+ds-1 · arm64 · trixie

      Affected

      nvd · libstb · debian · 13

  • [libstb-dev]Affected

    Source package: [libstb]

    Details (2)
    • 0.0~git20241109.5c20573+ds-1 · amd64 · trixie

      Affected

      nvd · libstb · debian · 13

    • 0.0~git20241109.5c20573+ds-1 · arm64 · trixie

      Affected

      nvd · libstb · debian · 13

Observed:

References