cve.bz

CVE-2025-59732 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 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.

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; 9th 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-59732 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59732?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59732?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-59732 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-59732 DSA-5985-1
Debian13ffmpeg7:7.1.2-0+deb13u1DEBIAN-CVE-2025-59732 DSA-6007-1
Debian14ffmpeg7:7.1.2-1DEBIAN-CVE-2025-59732
Ubuntu25.10ffmpeg7:7.1.1-1ubuntu4.2UBUNTU-CVE-2025-59732
UbuntuPro:14.04:LTSlibavno fix listedUBUNTU-CVE-2025-59732
UbuntuPro:22.04:LTSffmpeg7:4.4.2-0ubuntu0.22.04.1+esm11UBUNTU-CVE-2025-59732
UbuntuPro:24.04:LTSffmpeg7:6.1.1-3ubuntu5+esm7UBUNTU-CVE-2025-59732
Alpinev3.23, v3.24ffmpeg8.0-r0ALPINE-CVE-2025-59732

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 of this vulnerability is to system availability. Processing a specially crafted OpenEXR file with DWAA or DWAB compression, where image dimensions are not divisible by 8, can lead to heap memory corruption within FFmpeg, potentially causing a denial of service.

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-59732.

References

Check your stackJSON