Skip to content
Fencer Vulns
high 8.7

CVE-2025-59733 json

Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

published 2025-10-06 13 mo ago modified 2026-10-19 21 d ago also EUVD-2025-32183 , GHSA-hpfq-c235-5854 , JLSEC-2026-646

cvss
8.7
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 7%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia FFMPEG_jll 8.0.0+0
  • julia FFplay_jll 8.1.2+0
  • FFmpeg FFmpeg 8.0
  • ffmpeg Debian 12 7:5.1.7-0+deb12u1
  • ffmpeg Debian 13 7:7.1.2-0+deb13u1
  • ffmpeg Debian 14 7:7.1.2-1

debian advisories DEBIAN-CVE-2025-59733

  • ffmpeg Ubuntu 25.10 7:7.1.1-1ubuntu4.2
  • ffmpeg Ubuntu Pro 18.04 LTS 7:3.4.11-0ubuntu0.1+esm12
  • ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm12
  • ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm11
  • ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm7

ubuntu advisories UBUNTU-CVE-2025-59733

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ffmpeg Alpine 3.24, Alpine 3.23 8.0-r0

alpine advisories ALPINE-CVE-2025-59733

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-59733 updated cvss 6.5

FFmpeg: FFmpeg: Buffer overflow in OpenEXR DWAA/DWAB decoding

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
13 mo ago

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.7 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
CNA 4.0 8.7 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
julia FFMPEG_jll
>=7.1.1+0, <8.0.0+0
8.0.0+0
julia FFplay_jll
>=7.1.1+0, <8.1.2+0
8.1.2+0

Affected products

  • FFmpeg FFmpeg

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.