Description
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.
Published: 2026-09-09
Score: 4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An out‑of‑bounds read in the stbsp_vsnprintf function of stb_sprintf.h causes the program to read memory beyond a buffer limit, potentially leading to crashes or uncontrolled resource usage. The flaw can be exploited by supplying crafted input, allowing an attacker to trigger a denial of service. There is no direct evidence from the description that the vulnerability can be leveraged for arbitrary code execution or data exfiltration. The weakness is categorized as an out‑of‑bounds read (CWE-126).

Affected Systems

The vulnerable code resides in the stb library maintained by the nothings project and is commonly incorporated into numerous C/C++ projects. No vendor or product names are listed in the CVE entry, but any build that includes the stb_sprintf.h header with the commit that introduced the bug (31c1ad3) is affected. Users should verify whether their applications link against this version of stb and assess whether the function is invoked with untrusted input.

Risk and Exploitability

The CVSS score of 4 classifies the issue as medium severity. EPSS is not available, making it difficult to gauge the probability of exploitation, but no indications of active exploitation exist, as the OSI KEV catalogue lists it as not exploited. The attack would require an attacker to supply malicious input to the stbsp_vsnprintf routine, which is likely to be a local or controlled‑environment vector rather than a remote one, because the function is typically called within application code. Given the lack of elevated privileges or remote code execution, the risk is primarily a denial of service rather than a breach of confidentiality or integrity.

Generated by OpenCVE AI on September 9, 2026 at 22:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the stb library to a version that fixes the out-of-bounds read (consult the repository for the relevant commit beyond 31c1ad3).
  • If an immediate upgrade is not possible, limit the size of format strings and the length of supplied arguments before passing them to stbsp_vsnprintf to prevent buffer overrun scenarios.
  • Modify or remove any public-facing code paths that invoke stbsp_vsnprintf with potentially untrusted input; replace with a safer formatting routine or add input validation.

Generated by OpenCVE AI on September 9, 2026 at 22:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 23:15:00 +0000

Type Values Removed Values Added
Title Out-of-Bounds Read in stbsp_vsnprintf Causing Denial of Service
Weaknesses CWE-126

Wed, 09 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
Description 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.
References
Metrics cvssV3_1

{'score': 4, 'vector': 'CVSS:3.1/AC:H/AV:L/A:L/C:N/I:L/PR:N/S:U/UI:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-09T20:34:57.156Z

Reserved: 2026-08-25T00:00:00.000Z

Link: CVE-2026-79516

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T21:17:04.530

Modified: 2026-09-09T21:17:04.530

Link: CVE-2026-79516

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T23:00:08Z

Weaknesses