CVE-2026-89266

Description

A flaw was found in stb_vorbis, an open-source library for Ogg Vorbis decoding. This vulnerability, a heap buffer overflow, occurs in the start_decoder() function due to an integer truncation error when allocating memory for codebook multiplicands. A remote attacker could exploit this by crafting a specially malformed Ogg Vorbis file. Successful exploitation could lead to out-of-bounds writes, causing the application to crash or corrupt memory, resulting in a Denial of Service (DoS).

Statement

Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.

Mitigation

To mitigate this issue, users should avoid processing Ogg Vorbis files from untrusted sources. Additionally, applications that utilize `stb_vorbis` to decode Ogg Vorbis content, especially when handling untrusted input, should be run within a sandboxed environment to limit the potential impact of a successful exploit.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.