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


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.13% (34th 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-10075839
  • published8 May 2025
  • disclosed19 Apr 2024
  • creditZeng Yunxiang and Li Zeyuan

Introduced: 19 Apr 2024

CVE-2023-51795  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade ffmpeg to version 7.0.1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to improper bounds checking in the showspectrumpic_request_frame function. An attacker can execute arbitrary code on the system by crafting a malicious input to trigger the buffer overflow.

CVSS Base Scores

version 3.1