# CVE-2025-59733: Heap-buffer-overflow write in FFmpeg EXR dwa\_uncompress

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-10-06T08:09:37.290Z
- **Modified:** 2026-10-19T16:10:00.260Z

## Who should check

- Anyone running FFmpeg \>= 9a32b863074ed4140141e0d3613905c6f1fe61c5, \< 8.0; \>= 7.1.1, \< 8.0

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

## Affected and fixed versions

- FFmpeg: \>= 9a32b863074ed4140141e0d3613905c6f1fe61c5, \< 8.0; \>= 7.1.1, \< 8.0 (cvelist)

## Mitigation

- Upgrade FFmpeg to 8.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-59733. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-59733.md
Affected: FFmpeg >= 9a32b863074ed4140141e0d3613905c6f1fe61c5, < 8.0; >= 7.1.1, < 8.0
Fixed in: FFmpeg 8.0, FFmpeg 8.0

Steps:
1. Search this machine and project for FFmpeg: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-59733 being exploited?

There is no confirmed exploitation: CVE-2025-59733 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-59733?

High: CVSS 8.7 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-59733?

FFmpeg \>= 9a32b863074ed4140141e0d3613905c6f1fe61c5, \< 8.0; \>= 7.1.1, \< 8.0.

### Is there a fix for CVE-2025-59733?

Yes. Fixed in FFmpeg 8.0, FFmpeg 8.0. Upgrade FFmpeg to 8.0 or later.

### How do I check if I'm affected by CVE-2025-59733?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://issuetracker.google.com/436511754>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-59733>

HTML: <https://flawdb.com/CVE-2025-59733> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-59733>
