CVE-2026-89266
Received Received - Intake

Heap Buffer Overflow in stb_vorbis Library

Vulnerability report for CVE-2026-89266, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-12

Last updated on: 2026-09-12

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-12
Last Modified
2026-09-12
Generated
2026-09-12
AI Q&A
2026-09-12
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
nothings stb_vorbis From 1.22 (exc)
nothings stb_image 2.30

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-89266 is a heap buffer overflow in stb_vorbis through version 1.22. The issue occurs in the start_decoder() function where the allocation size for codebook multiplicands is incorrectly truncated from size_t to int. This truncation leads to undersized memory allocation when processing malicious Ogg Vorbis files with large entries and dimensions values, causing out-of-bounds writes that may result in process crashes or heap corruption.

Detection Guidance

Detecting this vulnerability requires analyzing Ogg Vorbis files processed by stb_vorbis v1.22 or earlier. Check for crashes or memory corruption when decoding audio files. Use static analysis tools to inspect stb_vorbis.c for improper size_t to int truncation in allocation functions like setup_malloc.

Impact Analysis

This vulnerability can be exploited by attackers to craft malicious Ogg Vorbis files that trigger heap buffer overflows. This may lead to process crashes, heap corruption, denial of service, or potentially arbitrary code execution on systems using vulnerable versions of stb_vorbis, especially on 64-bit platforms where the truncation issue is more severe.

Compliance Impact

This vulnerability could lead to data breaches or unauthorized memory access, which may violate GDPR's data protection requirements or HIPAA's safeguards for protected health information. Exploitation might result in exposure of sensitive data processed by affected applications.

Mitigation Strategies

Update stb_vorbis to the latest version where the size_t to int truncation issue is fixed. If updating is not possible, avoid processing untrusted Ogg Vorbis files. Implement input validation to reject files with suspiciously large entries or dimensions values.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-89266. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart