CVE-2025-59731 Affecting ffmpeg package, versions <7:4.4.2-0ubuntu0.22.04.1+esm11


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-FFMPEG-13350676
  • published19 Jan 2026
  • disclosed6 Oct 2025

Introduced: 6 Oct 2025

CVE-2025-59731  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 ffmpeg to version 7:4.4.2-0ubuntu0.22.04.1+esm11 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ffmpeg package and not the ffmpeg package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.