Stack-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

EPSS
0.06% (18th 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-10075831
  • published8 May 2025
  • disclosed19 Apr 2024
  • creditZengYunxiang

Introduced: 19 Apr 2024

CVE-2023-51793  (opens in a new tab)
CWE-121  (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 Stack-based Buffer Overflow due to improper handling in the image_copy_plane function. An attacker can execute arbitrary code on the system by crafting a malicious input that triggers the overflow.

CVSS Base Scores

version 3.1