CVE-2026-89266
stb_vorbis through 1.22 heap buffer overflow via codebook multiplicands
CVSS 4.0 8.8 HIGHCVSS 3.1 8.2 HIGHCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-89266
Publishedstb_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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-89266 · CVE overview and exploitation status
cve-program · CVE-2026-89266
- https://github.com/nothings/stb/issues/1928
- https://github.com/nothings/stb/issues/1933
- https://github.com/nothings/stb/issues/1947
- https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L3878-L3880
- https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L950
- https://github.com/nothings/stb
- https://www.vulncheck.com/advisories/stb-vorbis-through-1.22-heap-buffer-overflow-via-codebook-multiplicands
Related changes
Linked by CVE identifierNo related changes are available here.