cve.bz

CVE-2025-59733 ffmpeg ffmpeg: Out-of-bounds Write

8.7 highEPSS 0.2%

High (8.7) in ffmpeg ffmpeg. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

8.7 high
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.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 8th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-59733 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59733?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59733?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59733 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
FFmpegfrom 9a32b863074ed4140141e0d3613905c6f1fe61c5 before 8.0
FFmpegfrom 7.1.1 before 8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ffmpeg7:5.1.7-0+deb12u1DEBIAN-CVE-2025-59733 DSA-5985-1
Debian13ffmpeg7:7.1.2-0+deb13u1DEBIAN-CVE-2025-59733 DSA-6007-1
Debian14ffmpeg7:7.1.2-1DEBIAN-CVE-2025-59733
Ubuntu25.10ffmpeg7:7.1.1-1ubuntu4.2UBUNTU-CVE-2025-59733
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2025-59733
UbuntuPro:18.04:LTSffmpeg7:3.4.11-0ubuntu0.1+esm12UBUNTU-CVE-2025-59733
UbuntuPro:20.04:LTSffmpeg7:4.2.7-0ubuntu0.1+esm12UBUNTU-CVE-2025-59733
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm11UBUNTU-CVE-2025-59733
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm7UBUNTU-CVE-2025-59733
Alpinev3.23, v3.24ffmpeg8.0-r0ALPINE-CVE-2025-59733

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The highest threat is to system availability, as processing a specially crafted OpenEXR file with DWAA/DWAB compression can lead to a buffer overflow in FFmpeg, resulting in a denial of service. This requires an attacker to be on the same adjacent network.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59733.

References

Check your stackJSON