CVE-2026-89266
stb_vorbis through 1.22 contains a heap buffer overflow in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nothings/stb
- github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L3878-L
- github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L950
- github.com/nothings/stb/issues/1928
- github.com/nothings/stb/issues/1933
- github.com/nothings/stb/issues/1947
- www.vulncheck.com/advisories/stb-vorbis-through-1.22-heap-buffer-overflow-via-codebook-mul
- nvd.nist.gov/vuln/detail/CVE-2026-89266
- cve.org/CVERecord?id=CVE-2026-89266
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.