Out-of-bounds Write Affecting ffmpeg package, versions [,5.1.7)[6.0,6.1.3)[7.0.1,7.1.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th 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-UNMANAGED-FFMPEG-13378877
  • published7 Oct 2025
  • disclosed6 Oct 2025
  • creditUnknown

Introduced: 6 Oct 2025

NewCVE-2025-59731  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 5.1.7, 6.1.3, 7.1.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the dwa_uncompress() function when decoding OpenEXR files with DWAA or DWAB compression due to insufficient validation of the raw length of run-length-encoded data. An attacker can cause memory corruption or potentially execute arbitrary code by crafting a malicious OpenEXR file with manipulated compression data.

CVSS Base Scores

version 4.0
version 3.1