Vulnerability · Published Oct 6, 2025 · Assigned by Google
CVE-2025-59732Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress
High 8.7
In plain English
A high-severity out-of-bounds write in FFmpeg from FFmpeg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | ffmpeg | 8.0-r0 | ALPINE-CVE-2025-59732 |
| Alpine:v3.24 | ffmpeg | 8.0-r0 | ALPINE-CVE-2025-59732 |
| Debian:12 | ffmpeg | 7:5.1.7-0+deb12u1 | DEBIAN-CVE-2025-59732 |
| Debian:12 | ffmpeg | 7:5.1.7-0+deb12u1 | DSA-5985-1 |
| Debian:13 | ffmpeg | 7:7.1.2-0+deb13u1 | DSA-6007-1 |
| Debian:13 | ffmpeg | 7:7.1.2-0+deb13u1 | DEBIAN-CVE-2025-59732 |
| Debian:14 | ffmpeg | 7:7.1.2-1 | DEBIAN-CVE-2025-59732 |
| Ubuntu:25.10 | ffmpeg | 7:7.1.1-1ubuntu4.2 | UBUNTU-CVE-2025-59732 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N