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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.21% (44th 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-CONAN-FFMPEG-10075847
  • published8 May 2025
  • disclosed6 Aug 2024
  • creditCookedMelon

Introduced: 6 Aug 2024

CVE-2024-7055  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 7.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow through the pnm_decode_frame function. An attacker can corrupt memory and potentially execute arbitrary code by sending a crafted PNM file that triggers a heap-based buffer overflow.

References

CVSS Base Scores

version 4.0
version 3.1