Heap-buffer overflow via unchecked EXR RLE length
Published Oct 6, 2025 · Updated Oct 6, 2025
Out-of-bounds access in FFmpeg before 8.0 allows context-dependent attackers to corrupt memory via a crafted DWAA- or DWAB-compressed OpenEXR file. In dwa_uncompress, file-controlled rle_raw_size allocates td->rle_raw_data, but pixel loops index it by image dimensions and half the declared length without verifying that the allocation covers those offsets. The malformed file must be processed by an application using the EXR decoder; the published record does not specify a crash or code-execution outcome.
Summary
What happened
Out-of-bounds access in FFmpeg before 8.0 allows context-dependent attackers to corrupt memory via a crafted DWAA- or DWAB-compressed OpenEXR file. In dwa_uncompress, file-controlled rle_raw_size allocates td->rle_raw_data, but pixel loops index it by image dimensions and half the declared length without verifying that the allocation covers those offsets. The malformed file must be processed by an application using the EXR decoder; the published record does not specify a crash or code-execution outcome.
The record
- CVE
- CVE-2025-59731
- Published
- Oct 6, 2025
- Updated
- Oct 6, 2025
- Vendor
- FFmpeg
- Product
- FFmpeg
- Classifications
- CWE-787, T1204.002
- Attack vector
- adjacent
- Privileges
- Unavailable
Timeline
How it unfolded
- Oct 6, 2025CVE publishedPublication date reported by the CVE source.
- Oct 6, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=7.1.1 <8.0
- Affected versionversion=9a32b863074ed4140141e0d3613905c6f1fe61c5 <8.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo