CVE-2025-59733: Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

Published Oct 6, 2025
·
Updated

When decoding an OpenEXR file that uses DWAA or DWAB compression, there's an implicit assumption that all image channels have the same pixel type (and size), and that if there are four channels, the first four are "B", "G", "R" and "A". The channel parsing code can be found in decodeheader. The buffer td->uncompresseddata is allocated in decodeblock based on the xsize, ysize and computed currentchanneloffset.

The function dwauncompress then assumes at [5] that if there are 4 channels, these are "B", "G", "R" and "A", and in the calculations at [6] and [7] that all channels are of the same type, which matches the type of the main color channels.

If we set the main color channels to a 4-byte type and add duplicate or unknown channels of the 2-byte EXRHALF type, then the addition at [7] will increment the pointer by 4-bytes xsize nbchannels, which will exceed the allocated buffer.

We recommend upgrading to version 8.0 or beyond.

Affected Software

1 affected component
FFmpeg FFmpeg<8.0

Event History

Oct 6, 2025
CVE Published
via MITRE·08:09 AM
Data Sourced
via MITRE·08:09 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-59733?

CVE-2025-59733 has been assigned a severity rating reflecting potential security risks related to parsing malformed OpenEXR files.

2

How do I fix CVE-2025-59733?

To fix CVE-2025-59733, ensure that you are using the latest version of FFmpeg with patched code for handling OpenEXR files.

3

Which versions of FFmpeg are affected by CVE-2025-59733?

CVE-2025-59733 affects all versions of FFmpeg up to the current release as it pertains to specific image channel assumptions in OpenEXR processing.

4

What types of attacks can exploit CVE-2025-59733?

CVE-2025-59733 can be exploited through crafted OpenEXR files that may lead to unexpected behavior or crashes in applications using vulnerable FFmpeg versions.

5

Are there any workarounds for CVE-2025-59733?

As of now, the recommended workaround for CVE-2025-59733 is to avoid processing untrusted OpenEXR files until a security patch is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203