Bug 2401797 (CVE-2025-59732) - CVE-2025-59732 FFmpeg: Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
Summary: CVE-2025-59732 FFmpeg: Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
Keywords:
Status: NEW
Alias: CVE-2025-59732
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2401828 2401831 2401834 2401844 2401846 2401850 2401853 2401858
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-06 09:01 UTC by OSIDB Bzimport
Modified: 2025-10-06 10:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-06 09:01:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.