CVE-2025-59731

Description

A flaw was found in FFmpeg. When processing OpenEXR files compressed with DWAA or DWAB, the software does not properly validate the size of incoming data. This oversight can lead to a heap-buffer-overflow, where data is written beyond its allocated memory space. A remote attacker could potentially exploit this to cause a denial of service or, in some cases, execute arbitrary code.

Statement

This Moderate severity heap-buffer-overflow in FFmpeg's OpenEXR DWAA/DWAB decompression could lead to a denial of service. The flaw requires an attacker on an adjacent network and can be triggered without user interaction when processing a specially crafted OpenEXR file.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

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.