Heap-based Buffer Overflow Affecting ffmpeg package, versions [,n7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (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-UNMANAGED-FFMPEG-6670027
  • published21 Apr 2024
  • disclosed19 Apr 2024
  • creditZengYunxiang

Introduced: 19 Apr 2024

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

How to fix?

Upgrade ffmpeg to version n7.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to improper handling of input within the libavcodec/jpegxl_parser.c component. An attacker can execute arbitrary code on the system by exploiting the buffer overflow condition through specially crafted input.

CVSS Scores

version 3.1