OpenEXR pre-8.0 Buffer Overflow via DWAA/DWAB (CVE-2025-59732)
CVE-2025-59732 Published on October 6, 2025

Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
When decoding an OpenEXR file that uses DWAA or DWAB compression, there's an implicit assumption that the height and width are divisible by 8. If the height or width of the image is not divisible by 8, the copy loops at [0] and [1] will continue to write until the next multiple of 8. The buffer td->uncompressed_data is allocated in decode_block based on the precise height and width of the image, so the "rounded-up" multiple of 8 in the copy loop can exceed the buffer bounds, and the write block starting at [2] can corrupt following heap memory. We recommend upgrading to version 8.0 or beyond.

NVD

Weakness Type

What is a Memory Corruption Vulnerability?

The software writes data past the end, or before the beginning, of the intended buffer. Typically, this can result in corruption of data, a crash, or code execution. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent write operation then produces undefined or unexpected results.

CVE-2025-59732 has been classified to as a Memory Corruption vulnerability or weakness.


Products Associated with CVE-2025-59732

stack.watch emails you whenever new vulnerabilities are published in FFmpeg or Canonical Ubuntu Linux. Just hit a watch button to start following.

 
 

Affected Versions

FFmpeg:

Exploit Probability

EPSS
0.02%
Percentile
4.91%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.