Skip to main content

Stb CVE-2026-5316

| EUVDEUVD-2026-18110 LOW
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-02 VulDB
2.1
CVSS 4.0 · NVD

Severity by source

NVD PRIMARY
2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
SUSE
4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

7
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
EUVD ID Assigned
Apr 02, 2026 - 00:15 euvd
EUVD-2026-18110
Analysis Generated
Apr 02, 2026 - 00:15 vuln.today
CVE Published
Apr 02, 2026 - 00:00 nvd
MEDIUM 5.3

DescriptionCVE.org

A vulnerability was identified in Nothings stb up to 1.22. The impacted element is the function setup_free of the file stb_vorbis.c. The manipulation leads to allocation of resources. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.

AnalysisAI

Resource exhaustion in Nothings stb library versions up to 1.22 allows unauthenticated remote attackers to cause denial of service through the setup_free function in stb_vorbis.c when processing malformed audio data. The vulnerability has publicly available exploit code and a low CVSS score of 4.3 reflecting limited impact, but represents a real availability risk in applications embedding this widely-used header-only graphics and audio library.

Technical ContextAI

The stb library is a popular collection of single-header C libraries for graphics, audio, and utility functions. The vulnerability resides in stb_vorbis.c, specifically the setup_free function which handles memory deallocation during Ogg Vorbis audio decoding. CWE-770 (Allocation of Resources Without Limits or Throttling) indicates the flaw allows an attacker to trigger excessive resource allocation-likely through crafted Vorbis stream headers or metadata that cause the parser to allocate disproportionate memory or CPU cycles during the setup phase. Since stb is header-only and embedded directly into applications, every application using stb_vorbis.c for audio decoding inherits this vulnerability.

RemediationAI

Upgrade Nothings stb to version 1.23 or later, which should contain fixes for the resource allocation flaw in setup_free. Applications must rebuild and redeploy with the updated header file. If immediate patching is infeasible, implement input validation and rate limiting on audio file uploads and processing to reduce the likelihood of triggering excessive resource allocation from malformed Vorbis streams. Monitor for CPU and memory spikes during audio decoding operations. Detailed technical analysis and vendor communication history are available through VulDB at https://vuldb.com/vuln/354648.

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

SUSE

Severity: Medium

Share

CVE-2026-5316 vulnerability details – vuln.today

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