Skip to main content

stb_truetype CVE-2026-79515

| EUVDEUVD-2026-75163 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-09 mitre GHSA-fcr4-8hv6-4gw2
4.3
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malformed TTF with invalid glyph offsets
  2. Delivery
    Deliver font to victim via web, email, or file share
  3. Exploit
    Victim opens file in stb_truetype-linked application
  4. Execution
    stbtt_GetGlyphShape reads out-of-bounds
  5. Impact
    Application 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
vuln.today AI 4.3 MEDIUM

Network delivery of malicious TTF; user must open file (UI:R); impact is crash only, no confidentiality or integrity loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Medium
popular single-file C library embedded in many game and graphics apps
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy