CVE-2025-59732
October 06, 2025
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.
Affected Packages
ffmpeg (CONAN):
Affected version(s) >=7.0.1 <7.1.2Fix Suggestion:
Update to version 7.1.2https://github.com/FFmpeg/FFmpeg.git (GITHUB):
Affected version(s) >=n0.5.5 <n5.1.7Fix Suggestion:
Update to version n5.1.7https://github.com/FFmpeg/FFmpeg.git (GITHUB):
Affected version(s) >=n7.0 <n7.1.2Fix Suggestion:
Update to version n7.1.2https://github.com/FFmpeg/FFmpeg.git (GITHUB):
Affected version(s) >=n6.0 <n6.1.3Fix Suggestion:
Update to version n6.1.3Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
ADJACENT
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
ADJACENT
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.02