Skip to main content

Stb CVE-2026-5314

| EUVDEUVD-2026-18092 LOW
Out-of-bounds Read (CWE-125)
2026-04-01 VulDB GHSA-x46x-p265-r7jv
2.1
CVSS 4.0 · Vendor: VulDB
View

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.

Impact

The CVSS v4.0 score of 5.3 reflects a moderate threat profile with several mitigating factors. Attack vector is network-based with low complexity and no privileges required, but user interaction is mandatory (UI:P), reducing spontaneous exploitation likelihood. The CVSS impact assessment shows only availability impact (VA:L) rather than confidentiality, contradicting the described information disclosure - this inconsistency suggests either a classification issue or that memory exposure is limited to non-critical data. EPSS enrichment (E:P indicates exploit available/probable) confirms public exploit availability. The absence of CISA KEV status indicates no confirmed active exploitation in the wild despite public POC availability. Relative to real-world risk, this is a low-to-moderate priority: exploitation requires social engineering (user opening a malicious font), the vendor has not engaged with remediation, and affected applications vary widely in sensitivity (a font rendering bug in a image editor poses less risk than in a security-critical parser). Organizations should assess based on whether their use of stb includes untrusted TTF file processing.

Exploit ScenarioDerived

A user receives a malicious TTF font file via email or downloads it from an untrusted font repository. When the user opens an application that uses stb_truetype.h to render or inspect the font (such as a font manager, graphics editor, or game with custom font loading), the stbtt_InitFont_internal function parses the crafted file's header without proper bounds validation. The parser reads beyond the buffer boundary, exposing adjacent memory contents to the application process, potentially leaking information from other data structures or memory regions. An attacker could use this information leak to map process memory layout for follow-up attacks, though direct code execution is not possible via this vulnerability alone.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 01, 2026

Out-of-bounds read in Nothings stb library up to version 1.26 allows remote attackers to trigger information disclosure via a crafted TTF file processed by the stbtt_InitFont_internal function in stb_truetype.h. Exploitation requires user interaction (opening a malicious font file) and publicly available exploit code exists; however, the vendor has not responded to early disclosure notification.

RemediationAI

No vendor-released patch has been made available as the developer did not respond to early disclosure efforts. Affected applications should audit their inclusion of stb_truetype.h and either update to a patched fork (if available from the application vendor), implement strict TTF file validation before parsing, restrict TTF file parsing to trusted sources, or sandbox font processing in a restricted security context. Users of applications embedding stb should contact the application vendor for patched builds, as the upstream stb repository may not receive timely updates. The public exploit is available at https://gist.github.com/d0razi/cb31a92f3205a4373f19b7da25946848 for security testing purposes.

Affected VersionsENISA

stb 1.25
stb 1.26
stb 1.8
stb 1.10
stb 1.21
stb 1.17
stb 1.3
stb 1.6
stb 1.9
stb 1.2
stb 1.1
stb 1.5
stb 1.20
stb 1.13
stb 1.24
stb 1.4
stb 1.19
stb 1.22
stb 1.23
stb 1.0
stb 1.7
stb 1.11
stb 1.16
stb 1.15
stb 1.14
stb 1.18
stb 1.12

Affected Packages

euvd stb no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the stb_truetype.h header library, a single-file font parsing implementation widely embedded in applications requiring TrueType font support. The stbtt_InitFont_internal function performs TTF file parsing without sufficient bounds checking, leading to out-of-bounds memory reads (CWE-125: Out-of-bounds Read). An attacker crafting a malicious TTF file with invalid offset or length values can cause the parser to read beyond allocated buffer boundaries, exposing adjacent process memory. The stb library is a popular header-only C library used in game engines, graphics applications, and multimedia software, meaning affected applications may number in the thousands across diverse industries.

Know when Stb gets its next vulnerability

  • 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 (VulDB) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 03, 2026 - 16:10 vuln.today
Public exploit code
CVE Published
Apr 01, 2026 - 22:15 nvd
MEDIUM 5.3

DescriptionCVE.org

A vulnerability was found in Nothings stb up to 1.26. Impacted is the function stbtt_InitFont_internal in the library stb_truetype.h of the component TTF File Handler. Performing a manipulation results in out-of-bounds read. Remote exploitation of the attack is possible. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
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.

Vendor StatusVendor

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