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

EPSS
0.14% (35th 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-10075832
  • published8 May 2025
  • disclosed19 Apr 2024
  • creditZengYunxiang

Introduced: 19 Apr 2024

CVE-2023-49502  (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 the ff_bwdif_filter_intra_c function in the libavfilter/bwdifdsp.c:125:5 component. An attacker can execute arbitrary code on the system by exploiting the buffer overflow vulnerability.

CVSS Base Scores

version 3.1