CVE-2025-59730

Description

A flaw was found in FFmpeg. This vulnerability allows a heap-buffer-overflow via decoding a SANM (Software Audio and Music, ANIM v0 variant) file frame with run-length encoded data using codec 48, due to insufficient buffer size checks.

Statement

This flaw in FFmpeg can lead to a heap-buffer-overflow when processing a specially crafted SANM (ANIM v0 variant) file. The highest threat is to system availability, as an attacker on the same adjacent network could trigger a denial of service.

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.