CVE 6.9 MEDIUM

Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress_CVE-2025-59731

6.9 / 10
MEDIUM
CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Description

When decoding an OpenEXR file that uses DWAA or DWAB compression, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data.

We read rle_raw_size from the input file at [0], we decompress and decode into the buffer td->rle_raw_data of size rle_raw_size at [1], and then at [2] we will access entries in this buffer up to (td->xsize - 1) * (td->ysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size.




We recommend upgrading to version 8.0 or beyond.

Basic Information

ID CVE-2025-59731
Source Google
Published Oct 6, 2025 at 08:09

Affected Product

Vendor FFmpeg
Product FFmpeg
Version 9a32b863074ed4140141e0d3613905c6f1fe61c5
Affected Versions FFmpeg FFmpeg 9a32b863074ed4140141e0d3613905c6f1fe61c5
FFmpeg FFmpeg 7.1.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.