Skip to content
Fencer Intel
medium 6.9

CVE-2025-59731 json

Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

published last yr. modified 21d ago also EUVD-2025-32181 , GHSA-p7r5-qh99-qchm , JLSEC-2026-644

cvss
6.9
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, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data.

We read rle_raw_size from the input file at [0], we decompress and decode into the buffer td->rle_raw_data of size rle_raw_size at [1], and then at [2] we will access entries in this buffer up to (td->xsize - 1) * (td->ysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size.

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-59731

  • ffmpeg Ubuntu 25.10 7:7.1.1-1ubuntu4.2
  • 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-59731

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-59731

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

Is CVE-2025-59731 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-59731 updated cvss 6.5

FFmpeg: Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

  • 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
last yr.

Exploit prediction

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

CVSS scores

assigned by version score vector
CNA 4.0 6.9 CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
CNA 4.0 6.9 CVSS:4.0/AV:A/AC:H/AT:N/PR:L/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 Intel 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.