Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA FFmpeg (FFmpeg) Fixed in 8.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
FFmpeg 8.0
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2025-37186 Heap-buffer-overflow write in FFmpeg SANM process_ftchPriority LOW 39
- TI-2025-37185 Heap-buffer-overflow write in FFmpeg EXR dwa_uncompressPriority LOW 39
- TI-2025-37183 Heap-buffer-overflow write in FFmpeg EXR dwa_uncompressPriority LOW 32
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59732
- 2026-10-03 Alias added: GHSA-qr3p-83wm-px3f
References
More FFmpeg vulnerabilities
- TI-2025-19015 FFmpeg git-master before commit d5873b was discovered to contain a memory leak in the component libavutil/iamf.c. CVSS 3.1HIGH 8.8
- TI-2024-21238 FFmpeg 7.0 contains a heap-buffer-overflow at libavfilter/vf_tiltandshift.c:189:5 in copy_column. CVSS 3.1HIGH 8.4
- TI-2023-06050 Ffmpeg: null pointer dereference in ffmpeg hls parsing CVSS 3.1HIGH 7.5
- TI-2023-28420 Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to… CVSS 3.1HIGH 8.0
- TI-2023-27357 FFmpeg v.n6.1-3-g466799d4f5 allows a heap-based buffer overflow via the… CVSS 3.1HIGH 8.0
- TI-2023-27044 Buffer Overflow vulnerability in FFmpeg version n6.1-3-g466799d4f5, allows a local… CVSS 3.1HIGH 8.0
Sources
- CVE-2025-59732 · CVE Program
- CVE-2025-59732 · NVD
- FIRST EPSS
- GHSA-qr3p-83wm-px3f · GitHub Advisory Database · CC BY 4.0
- CVE-2025-59732 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences