CVE Tools

CVE-2025-59733

Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

Published: Oct 6, 2025Updated: Oct 19, 2025 Sources: CVE List NVD BDUCWE-787
6.5CVSSMEDIUM

Description

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.

CVSS Vector Breakdown

AV:AAC:HC:LI:HA:N
Exploitability
AV:AAccess Vector
Adjacent Network
AC:HAccess Complexity
High
Impact
C:LConfidentiality
L
I:HIntegrity
H
A:NAvailability
None

Weaknesses

Affected Products

ffmpegoss-projectUSOSS Librariesaka libavcodec
ffmpeg teamoss-projectOSS Librariesaka ffmpeg
google inccommercialUSMobile Appsaka google

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available

MITRE ATT&CK

2 techniques
Initial Access
Privilege Escalation
View detailed technique mapping

References

and 3 more references View all →

Timeline

Published
Oct 6, 2025
Last Updated
Oct 19, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-59733 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows