Heap-based buffer overflow in FFmpeg - CVE-2024-7055

 

Heap-based buffer overflow in FFmpeg - CVE-2024-7055

Published: August 8, 2024


Vulnerability identifier: #VU95532
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2024-7055
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ffmpeg.sourceforge.net
Affected software:
FFmpeg

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the the pnm_decode_frame() function in /libavcodec/pnmdec.c. A remote attacker can trick the victim to open a specially crafted file, trigger a use-after-free error and execute arbitrary code on the system.


How to mitigate CVE-2024-7055

Install update from vendor's website.

Sources