CVE-2026-89266 Details
Description
stb_vorbis through 1.22 contains a heap buffer overflow in start_decoder() where the codebook multiplicands allocation size is truncated from size_t to int. Attackers can craft a malicious Ogg Vorbis file with large entries and dimensions values to trigger out-of-bounds writes, causing process crashes or heap corruption.
A heap buffer overflow vulnerability has been identified in the stb Vorbis audio decoding library, specifically in versions through 1.22. The issue arises in the start_decoder() function, where the allocation size for codebook multiplicands is improperly truncated from size_t to int. This flaw allows attackers to craft malicious Ogg Vorbis files with large entries and dimensions, triggering out-of-bounds writes that can lead to process crashes or heap corruption.
Users can update to the latest version of the stb Vorbis library, where this vulnerability has been addressed by changing the allocation function to properly handle size_t values and prevent overflow.
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.
Volerion
Assessed Sep 12, 2026CISA-ADP
Assessed Sep 20, 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://github.com/nothings/stb | [email protected] | Vendor |
| https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L3878-L3880 | [email protected] | Source CodeVendor |
| https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L950 | [email protected] | Source CodeVendor |
| https://github.com/nothings/stb/issues/1928 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://github.com/nothings/stb/issues/1933 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/nothings/stb/issues/1947 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/stb-vorbis-through-1.22-heap-buffer-overflow-via-codebook-multiplicands | [email protected] | AdvisoryBundleVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| stb_vorbis | <= 1.22 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 20, 2026 | CVE Modified | CISA-ADP |
| Sep 12, 2026 | New CVE Received | [email protected] |
Volerion