Heap-based Buffer Overflow Affecting ffmpeg package, versions [,8.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.3% (53rd 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-12818390
  • published18 Sept 2025
  • disclosed9 Sept 2025
  • creditAndy Nguyen

Introduced: 9 Sep 2025

NewCVE-2025-9951  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 8.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the get_siz function in jpeg2000dec.c. An attacker can execute arbitrary code or cause a crash by supplying a crafted JPEG2000 file containing a malicious cdef atom.

CVSS Base Scores

version 4.0
version 3.1