Skip to main content

Stb EUVDEUVD-2026-18114

| CVE-2026-5317 LOW
Out-of-bounds Write (CWE-787)
2026-04-02 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

stb 1.10
stb 1.13
stb 1.17
stb 1.15
stb 1.7
stb 1.11
stb 1.6
stb 1.0
stb 1.5
stb 1.1
stb 1.14
stb 1.3
stb 1.18
stb 1.20
stb 1.19
stb 1.9
stb 1.21
stb 1.16
stb 1.12
stb 1.8
stb 1.22
stb 1.2
stb 1.4

Affected Packages

euvd stb no fix

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

Vendor (VulDB) PRIMARY 2.1 LOW
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
Red Hat 6.3 MEDIUM

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 03, 2026 - 16:10 vuln.today
Public exploit code
Patch released
Apr 02, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 02, 2026 - 00:45 nvd
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
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.

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 3

Vendor StatusVendor

Debian

libstb
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) -

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