Skip to main content

nothings/stb EUVDEUVD-2026-75160

| CVE-2026-79516 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-09 mitre GHSA-65qg-r8w5-5wxq
4.0
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted format-string input to consuming application
  2. Delivery
    Input routed to stbsp_vsnprintf without sanitization
  3. Exploit
    Out-of-bounds read triggered in buffer-handling logic
  4. Execution
    Process crash
  5. Impact
    Denial of service achieved

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

Exploitation requires that the target application vendors stb_sprintf.h at commit 31c1ad3 or earlier and exposes a code path through which attacker-controlled data (a crafted format string or associated variadic arguments) reaches stbsp_vsnprintf without prior sanitization. The local attack vector (AV:L per CVSS) indicates the vulnerability cannot be exploited purely over a network unless the consuming application explicitly passes network-received data into stbsp_vsnprintf; exploitation requires local access to the process or a specific exposed input pathway in the consuming application. High attack complexity (AC:H) further constrains exploitation: triggering the precise out-of-bounds condition requires knowledge of the function's internal buffer-management behavior. Impact is limited to denial of service (process crash) of the consuming application. Applications that do not vendor stb_sprintf.h, or that validate and bound all format-string inputs before passing them to the function, are not exploitable.

Impact

The CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L) yields a score of 4.0, reflecting constrained exploitability: the local attack vector requires that attacker-controlled data reach stbsp_vsnprintf within the consuming process, and high attack complexity demands specific knowledge of the function's internal buffer logic. The I:L (integrity low) metric in the provided vector is not explained by the description, which characterizes impact as DoS only - this discrepancy warrants verification against the upstream GitHub issue. EPSS data is absent from the provided intelligence, but low CVSS, no KEV listing, and no public exploit code collectively suggest low exploitation probability. Even a mid-sized municipal IT team in boleslawiec maintaining a graphics pipeline that vendors stb_sprintf.h would reasonably handle this as a routine patch-cycle item rather than an emergency response. The primary real-world risk is the long tail of downstream projects that vendor the header and will require individual manual updates even after an upstream fix is committed.

Exploit ScenarioDerived

An attacker who can influence input processed by an application that vendors stb_sprintf.h crafts a malformed format string or variadic argument that causes stbsp_vsnprintf to read beyond the intended buffer boundary. The out-of-bounds read triggers an abnormal process termination, denying service for any function or service reliant on the affected binary. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% 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 memory read in the stb library's stbsp_vsnprintf function (stb_sprintf.h) at commit 31c1ad3 enables a denial-of-service condition when a consuming application passes attacker-controlled input to the function. The nothings/stb project is Sean Barrett's widely-vendored, public-domain, single-file C library suite embedded across game engines, imaging tools, and embedded systems. No public exploit code and no CISA KEV listing exist at time of analysis; the local attack vector and high attack complexity in the CVSS vector further limit practical exploitability.

RemediationAI

Update the vendored copy of stb_sprintf.h to a commit after 31c1ad3 that resolves the out-of-bounds read, tracking the upstream changes referenced in the GitHub issue at https://github.com/nothings/stb/issues/1963. No vendor-released patch with an explicit version tag has been independently confirmed at time of analysis. Because stb is distributed as a copied header file, each consuming project must identify its vendored copy, apply the fix manually, and rebuild. As a compensating control, consuming applications can validate all inputs before passing them to stbsp_vsnprintf - ensuring format strings and variadic arguments conform to expected types and bounded lengths - which reduces the exploitable attack surface without requiring a library update. Replacing the vendored implementation with the platform's native vsnprintf is a structural alternative, though adopters should note that stb_sprintf was often chosen for portability and deterministic behavior on embedded targets where libc is unavailable.

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_sprintf.h is a portable, header-only C implementation of the printf/sprintf function family, designed for embedding directly into project source trees rather than linking as a shared library. The vulnerable function stbsp_vsnprintf performs variadic formatted output; the reported flaw causes the function to read memory beyond the bounds of an intended buffer when processing certain crafted format-string inputs - behavior consistent with CWE-125 (Out-of-Bounds Read), though the CWE field in the provided data is listed as N/A. The CPE entry (cpe:2.3:a:n/a:n/a) is a known placeholder; the actual affected artifact is the nothings/stb repository at commit 31c1ad3. Because stb headers are vendored by copying the file into consuming project trees, downstream exposure is fragmented across every project that includes the header at or before the vulnerable commit.

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.0 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
vuln.today AI 2.9 LOW

Local vector because exploitation depends on controlled input reaching the library; I:N assessed since an OOB read causes no integrity impact per the description.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

DescriptionCVE.org

An out-of-bounds read in the stbsp_vsnprintf function (stb_sprintf.h) of nothings stb commit 31c1ad3 allows attackers to cause a Denial of Service (DoS) via sending a crafted input.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
widely vendored in C/C++ game engines and graphics toolkits
Data Quality
5 sources
Confidence: Medium

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.1%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
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: Important

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