Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed TTF with invalid glyph offsets
-
DeliveryDeliver font to victim via web, email, or file share
-
ExploitVictim opens file in stb_truetype-linked application
-
Executionstbtt_GetGlyphShape reads out-of-bounds
-
ImpactApplication process crashes (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target application must (1) be built with stb_truetype at or before commit 31c1ad3, and (2) invoke stbtt_GetGlyphShape on attacker-controlled TrueType font data - meaning the application must accept TTF files from untrusted sources (user uploads, downloaded files, embedded assets, etc.). User interaction is required: a person must trigger the font loading action (open a file, render text, load a UI theme). Applications that only process fonts from a trusted, read-only bundle and never accept external fonts are not reachable via this vector. Exploitation is limited to a crash/DoS; there is no evidence from the provided data that code execution is achievable via this path. |
| Impact | CVSS 4.3 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L) accurately reflects a low-to-medium priority issue. The attack vector is network (a malicious font file can be delivered remotely) but requires user interaction - the victim must load or render the crafted TTF - limiting automated exploitation. Impact is bounded to availability (crash/DoS) with no reported confidentiality or integrity consequence. EPSS data is absent from the provided intelligence, and no CISA KEV listing or public exploit code was identified, indicating no confirmed active exploitation. Real-world risk is further bounded by the library's deployment pattern: stb_truetype is statically compiled into applications rather than exposed as a shared network service, so exploitation requires a user to open a malicious font in an application built with this library version. The stb library does not produce versioned releases for all components, making patch tracking difficult for downstream consumers. |
| Exploit ScenarioDerived | An attacker crafts a malformed TrueType font file with invalid glyph table offsets or lengths and delivers it to a victim - for example, as an email attachment, a file on a shared drive, or embedded in a document. When the victim opens the file in an application (game, image editor, PDF renderer, text tool) that uses stb_truetype to load fonts, stbtt_GetGlyphShape reads beyond the allocated buffer, triggering a crash and denying service. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Out-of-bounds read in stb_truetype's stbtt_GetGlyphShape function enables denial of service against any application that parses attacker-supplied TrueType font files using the nothings/stb library at commit 31c1ad3. The affected function reads glyph outline data from a crafted TTF without sufficient bounds validation, causing an abnormal read that crashes the host application. No public exploit code or CISA KEV listing was identified at time of analysis; CVSS 4.3 with UI:R reflects the realistic, user-triggered exposure.
RemediationAI
Consumers of the nothings/stb library should update their vendored copy of stb_truetype.h to a commit that addresses this issue - check the GitHub repository at https://github.com/nothings/stb for commits or pull requests referencing issue #1962 or stbtt_GetGlyphShape bounds validation. No tagged release version confirming the fix is available from the provided data. As a compensating control where font loading cannot be patched immediately, restrict application access to TTF files exclusively from trusted, internal sources and reject fonts supplied by external or unauthenticated users. Applications that do not use the stbtt_GetGlyphShape function path (i.e., do not render or query glyph outlines) may not be reachable via this code path, but this should be verified against each application's actual stb_truetype usage. Note that stb_truetype is often vendored without version pinning, so auditing third-party dependencies for this specific commit is necessary.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
stb (nothings/stb) is Sean Barrett's widely-embedded, single-file public domain C library collection. The stb_truetype component (stb_truetype.h) implements a TrueType/OpenType font parser and rasterizer entirely in C, with stbtt_GetGlyphShape() responsible for decoding glyph outline contour data from the TTF 'glyf' table. Parsing TTF glyph tables requires reading variable-length binary records indexed by glyph ID; an out-of-bounds read (CWE-125) arises when the parser consumes attacker-controlled offset or length fields without validating that the resulting read stays within the buffer holding the font data. The affected revision is commit 31c1ad3 of the nothings/stb repository. The CPE in the source data ('n/a:n/a') is a placeholder and does not accurately identify the product.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Network delivery of malicious TTF; user must open file (UI:R); impact is crash only, no confidentiality or integrity loss.
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
An out-of-bounds read in the stbtt_GetGlyphShape component of nothings stb commit 31c1ad3 allows attackers to cause a Denial of Service (DoS) via sending a crafted TTF file.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-75163
GHSA-fcr4-8hv6-4gw2
NVD
CVE.org
EPSS
VulDB
Exploit-DB