CVE-2025-59732

Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

State
Published
Severity
8.7 High
Published
Oct 6, 2025
Updated
Feb 26, 2026
Reserved
Sep 19, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:NGoogle

Weaknesses

Affected Products

ProductVersions
FFmpegFFmpeg
  • 9a32b863074ed4140141e0d3613905c6f1fe61c5 to before 8.0Affected
  • 7.1.1 to before 8.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.