CVE-2026-89266

stb_vorbis through 1.22 heap buffer overflow via codebook multiplicands

Published Sep 11, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

stb_v start_decoder routine where the allocation size for codebook multiplicands is truncated from a size_t to an int. This truncation causes the allocated buffer to be smaller than intended, enabling out‑of‑bounds writes on the heap when a decoder processes a malicious Ogg Vorbis file with large entries and dimension values. The resulting memory corruption can lead to crashes or, depending on the surrounding code, potentially allow an attacker to influence the execution state of the application.

Affected Systems

The vulnerability affects stb_vorbis version 1.22, as maintained by the nothings project.

Risk and Exploitability

This issue has a high severity CVSS score of 8.8, but the EPSS score of < 1% indicates a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers who can supply a crafted Ogg Vorbis file to an application using stb_vorbis for decoding can trigger the out‑of‑bounds writes, potentially causing a crash or memory corruption without requiring elevated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a newer release of stb_vorbis where the allocation size truncation has been fixed.
  • Validate the size and dimension fields of incoming Ogg Vorbis data and enforce reasonable limits before passing them to the decoder.
  • Run Vorbis decoding in a sandboxed environment to contain any potential memory corruption or crashes.

Generated by OpenCVE AI on September 15, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title stb_vorbis through 1.22 heap buffer overflow via codebook multiplicands
First Time appeared Stb Vorbis Project
Stb Vorbis Project stb Vorbis
Weaknesses CWE-787
CPEs cpe:2.3:a:stb_vorbis_project:stb_vorbis:*:*:*:*:*:*:*:*
Vendors & Products Stb Vorbis Project
Stb Vorbis Project stb Vorbis
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 8.8, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 24, 2026, 2:21 PM
Reserved
Sep 11, 2026, 10:52 AM
Status
Deferred
Published
Sep 12, 2026, 12:17 AM
Modified
Sep 24, 2026, 9:08 PM