CVE-2026-5316 Details
Description
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.
An invalid free vulnerability has been identified in Nothings STB Vorbis versions through 1.22. The issue arises in the 'setup_free' function of 'stb_vorbis.c', where the 'vorbis_deinit()' function calls 'setup_free()' to deallocate internal decoder structures. When processing a crafted Ogg Vorbis file, malformed setup headers can corrupt the internal state, leading 'setup_free()' to attempt to free an invalid pointer. This causes a crash in the memory allocator, as indicated by AddressSanitizer output. The vulnerability can be exploited remotely, and a public exploit is available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/d0razi/cc7f70bba08c1a455d9933e97b8b57c1 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/submit/780560 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/354648 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/354648/cti | [email protected] | Permissions RequiredVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nothings stb vorbis.c | <= 1.22 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 30, 2026 | Initial Analysis | [email protected] |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 2, 2026 | New CVE Received | [email protected] |