CVE & CISA-KEV Catalog

CVE-2025-59731

UNSCORED

Description

When decoding an OpenEXR file that uses DWAA or DWAB compression, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data. We read rle_raw_size from the input file at [0], we decompress and decode into the buffer td->rle_raw_data of size rle_raw_size at [1], and then at [2] we will access entries in this buffer up to (td->xsize - 1) * (td->ysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size. We recommend upgrading to version 8.0 or beyond.

How to fix

Remediation Available
ffmpegDebian
Fixed in:7:5.1.7-0+deb12u1CVE-2025-59731
Fixed in:7:7.1.2-0+deb13u1CVE-2025-59731
Fixed in:7:7.1.2-1CVE-2025-59731
ffmpegUbuntu
Fixed in:7:2.8.17-0ubuntu0.1+esm14USN-7982-1
Fixed in:7:3.4.11-0ubuntu0.1+esm12USN-7982-1
Fixed in:7:4.2.7-0ubuntu0.1+esm12USN-7982-1
Fixed in:7:4.4.2-0ubuntu0.22.04.1+esm11USN-7982-1
Fixed in:7:6.1.1-3ubuntu5+esm7USN-7982-1
Fixed in:7:7.1.1-1ubuntu4.2USN-7982-1
libavcodec-extraUbuntu
Fixed in:7:2.8.17-0ubuntu0.1+esm14USN-7982-1
libavcodec-ffmpeg56Ubuntu
Fixed in:7:2.8.17-0ubuntu0.1+esm14USN-7982-1
libavcodec57Ubuntu
Fixed in:7:3.4.11-0ubuntu0.1+esm12USN-7982-1
libavcodec58Ubuntu
Fixed in:7:4.2.7-0ubuntu0.1+esm12USN-7982-1
Fixed in:7:4.4.2-0ubuntu0.22.04.1+esm11USN-7982-1
libavcodec60Ubuntu
Fixed in:7:6.1.1-3ubuntu5+esm7USN-7982-1
libavcodec61Ubuntu
Fixed in:7:7.1.1-1ubuntu4.2USN-7982-1
libavformat-ffmpeg56Ubuntu
Fixed in:7:2.8.17-0ubuntu0.1+esm14USN-7982-1
libavformat57Ubuntu
Fixed in:7:3.4.11-0ubuntu0.1+esm12USN-7982-1
libavformat58Ubuntu
Fixed in:7:4.2.7-0ubuntu0.1+esm12USN-7982-1
Fixed in:7:4.4.2-0ubuntu0.22.04.1+esm11USN-7982-1
libavformat60Ubuntu
Fixed in:7:6.1.1-3ubuntu5+esm7USN-7982-1
libavformat61Ubuntu
Fixed in:7:7.1.1-1ubuntu4.2USN-7982-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.16%probability of exploitation in 30 days
6thpercentile

Low risk: more likely to be exploited than 6% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-787 (Out-of-bounds Write) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2025-59731
CVE-2025-59731 severity badge

Markdown

[![CVE-2025-59731](https://tridentstack.com/cve/badge/CVE-2025-59731.svg)](https://tridentstack.com/cve/CVE-2025-59731)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-59731"><img src="https://tridentstack.com/cve/badge/CVE-2025-59731.svg" alt="CVE-2025-59731"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-19.