Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 6.3 (Medium) with network attack vector and no privileges required indicates moderate severity, though the CVSS Environmental rating (E:P) reflects proof-of-concept availability. EPSS and KEV status were not provided in the input data, preventing probabilistic exploitation assessment. The critical risk factors are: (1) memory corruption vulnerabilities in audio decoders can lead to information disclosure and potential code execution depending on memory layout and exploitation sophistication; (2) public exploit code existence (Gist reference provided) significantly lowers the barrier to weaponization; (3) stb's pervasive use in game engines and multimedia software means impact scope is broad; (4) absence of vendor response means no official patch timeline exists. However, the vulnerability requires user interaction (UI:R in CVSS vector)-an attacker must trick a user into opening a malicious audio file. This user-interaction requirement and the lack of confirmed KEV status suggest real-world exploitation probability, while non-trivial, is lower than scores alone suggest. Organizations should prioritize patching if they ship stb-dependent software to end users, but this is not a critical zero-day scenario. |
| Exploit ScenarioDerived | A user running a game or multimedia application that embeds stb_vorbis.c version 1.22 is socially engineered to download a malicious .ogg or .vorbis audio file from a compromised website or file-sharing service. When the application attempts to play or import the file, the start_decoder function processes the specially crafted Vorbis header and writes out-of-bounds into adjacent memory, potentially overwriting function pointers or return addresses. On systems with weak exploit mitigations, this could allow remote code execution with the privileges of the application user. The public exploit code (linked in references) provides a functional proof-of-concept demonstrating the crash or code execution path, enabling attackers to reliably trigger the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Out-of-bounds write in Nothings stb library up to version 1.22 allows remote attackers to corrupt memory and potentially execute code by crafting malicious Vorbis audio files that trigger improper bounds checking in the start_decoder function. Publicly available exploit code exists for this vulnerability, which affects all applications statically linking vulnerable stb_vorbis.c code. The vendor has not responded to disclosure attempts, leaving deployed instances without an official patch.
RemediationAI
Users must update to stb library version 1.23 or later if such a release addressing this flaw is available; however, the vendor's non-responsiveness to disclosure suggests checking the official Nothings stb GitHub repository (https://github.com/nothings/stb) for the latest version and any security advisories. For applications that cannot immediately upgrade, implement strict input validation and sandboxing of audio decoding operations-parse Vorbis files only from trusted sources, disable automatic audio playback from untrusted media, and consider isolating audio decoding to a separate process with restricted memory access. Developers should audit their dependency on stb versions and either update their embedded copy or switch to a maintained, actively-patched audio decoding library if stb updates remain unavailable. Provide security advisories to end users of affected applications recommending they avoid opening untrusted audio files until patched.
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 stb_vorbis.c library is a single-file Vorbis audio decoder commonly embedded in game engines, multimedia applications, and other software that require lightweight audio decoding. The vulnerability exists in the start_decoder function, which processes Vorbis packet headers. The root cause is a classic out-of-bounds write (CWE-787), where insufficient validation of input parameters or array bounds during packet parsing allows an attacker to write data beyond allocated buffer boundaries. Since stb is typically statically linked as a header-only library, every application incorporating the vulnerable code becomes a potential attack surface. The remote attack vector means exploitation requires only transmitting a crafted Vorbis bitstream-no local access is necessary.
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:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A security flaw has been discovered in Nothings stb up to 1.22. This affects the function start_decoder of the file stb_vorbis.c. The manipulation results in out-of-bounds write. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks. 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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Related Vulnerabilities in Nothings stb Library Memory Safety Flaws
View all 3stb_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 read in Nothings stb library up to version 1.26 allows remote attackers to trigger information disclosure
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
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Buffer Overflow
View allVendor StatusVendor
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | vulnerable | 0.0~git20200713.b42009b+ds-1 | - |
| bullseye (security) | vulnerable | 0.0~git20200713.b42009b+ds-1+deb11u1 | - |
| bookworm | vulnerable | 0.0~git20220908.8b5f1f3+ds-1 | - |
| trixie | vulnerable | 0.0~git20241109.5c20573+ds-1 | - |
| forky, sid | vulnerable | 0.0~git20250907.fede005+ds-1 | - |
| (unstable) | fixed | (unfixed) | - |
EUVD-2026-18114
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB