# CVE-2025-59733: Heap-buffer-overflow write in FFmpeg EXR dwa\_uncompress

- Priority: **Routine**
- Reason: Not severe (CVSS 8.7, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-06 · Modified: 2026-02-26
- Aliases: UBUNTU-CVE-2025-59733, DEBIAN-CVE-2025-59733, CGA-2cjc-x62j-67c7, CGA-86ch-hmfx-4vhp, CGA-ghg3-2f77-h8w4, CGA-wxv9-qh75-3x4j, CGA-6j35-gm79-6qfw, CGA-fmjc-j2c9-7pqm, CGA-hvvj-rvxf-wq73, CGA-hxrm-46h5-9h23, CGA-r3x3-4whp-6mj4, CGA-x757-52q6-3grg, CGA-25wq-j79r-22mf, CGA-2fpw-5w77-x359, CGA-2m6p-vgpr-47r4, CGA-3pq8-rw3j-qg3g, CGA-5fj8-6888-33fj, CGA-wxxc-4g9r-9q92, CGA-xvhw-3mfr-36pq, CGA-3h84-gfh5-992r, CGA-gxxr-4qw3-fvjc, CGA-6rrx-3fxh-c9jq, CGA-7h53-f5j6-65hw, CGA-mcv9-h3q6-q2hg, CGA-qx5x-75jx-mvxw, CGA-vq8c-ccww-hggh, CGA-63qr-vfpm-w5wx, CGA-6qc2-4589-8ch4, CGA-8pc5-rgxw-3m7q, CGA-mvw4-gqf2-wp2w, CGA-p8ww-v9mg-7cwx, CGA-qph3-7whq-xpxp, CGA-49h7-h6jr-mjh7, CGA-mjfr-gppg-rhpm, ALPINE-CVE-2025-59733
- Record: https://cvemate.com/vulnerability/CVE-2025-59733 · JSON: https://cvemate.com/vulnerability/CVE-2025-59733/json

## Description

```text
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 decode_header. The buffer td->uncompressed_data is allocated in decode_block based on the xsize, ysize and computed current_channel_offset.

The function dwa_uncompress 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 EXR_HALF type, then the addition at [7] will increment the pointer by 4-bytes * xsize * nb_channels, which will exceed the allocated buffer.





We recommend upgrading to version 8.0 or beyond.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.183%, percentile 8.256%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 23)

- alpine ffmpeg (Alpine Linux): \< 8.0-r0
- chainguard eco-python-ffmpeg-7-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-7-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7.1 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-fips-7.1 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-dev (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libavcodec61 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libavdevice61 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libavfilter10 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libavformat61 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libavutil59 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libpostproc58 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libswresample5 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-libswscale8 (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- chainguard ffmpeg-fips-7.1-static (Chainguard): All versions (No fix recorded) \| \< 7.1.2-r0
- wolfi ffmpeg-7 (Wolfi): All versions (No fix recorded)
- wolfi ffmpeg-7.1 (Wolfi): All versions (No fix recorded)
- debian ffmpeg (Debian): \< 7:5.1.7-0+deb12u1 \| \< 7:7.1.2-0+deb13u1 \| \< 7:7.1.2-1

## References

- <https://issuetracker.google.com/436511754>
- <https://ubuntu.com/security/CVE-2025-59733>
- <https://www.cve.org/CVERecord?id=CVE-2025-59733>
- <https://issuetracker.google.com/issues/436511754>
- <https://ubuntu.com/security/notices/USN-7982-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-59733>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59733.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59733>
- <https://git.ffmpeg.org/ffmpeg.git>
- <https://security.alpinelinux.org/vuln/CVE-2025-59733>

---

Data as of 2026-12-05T06:10:59.160Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
