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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.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
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.
stb_image.h (aka the stb image loader) 2.23 has a heap-based buffer over-read in stbi__tga_load, leading to Information
STB v2.27 was discovered to contain an integer shift of invalid size in the component stbi__jpeg_decode_block_prog_ac. R
Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file. Rated
Integer overflow in the image-encoding routines of nothings/stb (stb_image_write.h, stb through version 1.16) allows rem
Integer overflow in the hexwave_init() function of Nothings stb (stb_hexwave.h) corrupts allocation sizing when an appli
Out-of-bounds write in Nothings stb library up to version 1.22 allows remote attackers to corrupt memory and potentially
Resource exhaustion in Nothings stb library versions up to 1.22 allows unauthenticated remote attackers to cause denial
Denial of service vulnerability in Nothings stb image library (stb_image.h) affecting GIF decoder function stbi__gif_loa
Double free vulnerability in Nothings stb library (up to version 2.30) in the multi-frame GIF file handler function stbi
EUVD-2026-18092
GHSA-x46x-p265-r7jv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB