CVE-2026-5317

Description

A flaw was found in Nothings stb, a library used for processing audio. A remote attacker can exploit a vulnerability involving an out-of-bounds write within the start_decoder function. This issue could allow an attacker to cause the application to crash, disclose sensitive information, or corrupt data. A public exploit for this vulnerability is available.

Statement

This Moderate impact vulnerability in the stb library, used for audio processing, allows a remote attacker to trigger an out-of-bounds write. Exploitation of this flaw, for which a public exploit exists, could lead to application crashes, sensitive information disclosure, or data corruption in applications utilizing the affected library. This primarily affects community-supported packages.

Mitigation

To reduce exposure, avoid processing untrusted audio files with applications that link against the `nothings stb` library. Implement sandboxing for applications that handle external audio input to contain potential impacts.

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.