CVE-2026-89266
stb_vorbis through 1.22 heap buffer overflow via codebook multiplicands
- State
- Published
- Severity
- 8.8 High
- Published
- Sep 11, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 11, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.8 High | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
stb_vorbisnothings |
|
References
- GitHub Issue #1928issue-tracking
- GitHub Issue #1933issue-tracking
- GitHub Issue #1947issue-tracking
- Vulnerable multiplicands allocation (stb_vorbis.c:3878-3880)technical-description
- setup_malloc int size parameter (stb_vorbis.c:950)technical-description
- https://github.com/nothings/stbproduct
- VulnCheck Advisory: stb_vorbis through 1.22 heap buffer overflow via codebook multiplicandsthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.