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: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
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-125).

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 < 1%, indicating a very low 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 21, 2026 at 07:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the stb library to a version 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 21, 2026 at 07:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 21 Sep 2026 08:00:00 +0000

Type Values Removed Values Added
Title Out‑of‑Bounds Read in stbsp_vsnprintf Allows Denial of Service

Mon, 21 Sep 2026 06:00:00 +0000

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

Mon, 14 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 11 Sep 2026 01:30:00 +0000

Type Values Removed Values Added
First Time appeared Nothings
Nothings stb
Vendors & Products Nothings
Nothings stb

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-14T12:28:44.627Z

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

Link: CVE-2026-79516

cve-icon Vulnrichment

Updated: 2026-09-14T12:28:26.263Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-09-14T13:18:47.520

Link: CVE-2026-79516

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-21T07:45:11Z

Weaknesses