Buffer overflow in FFmpeg - CVE-2024-32228

 

Buffer overflow in FFmpeg - CVE-2024-32228

Published: September 10, 2024


Vulnerability identifier: #VU96996
CSH Severity: High
CVSS v4: 8.6 [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]
CVE-ID: CVE-2024-32228
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a boundary error within the hevc_frame_end() function in libavcodec/hevcdec.c. A remote attacker can create a specially crafted media file, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

FFmpeg
openEuler
ffmpeg
ffmpeg-debuginfo
libavdevice
ffmpeg-libs
ffmpeg-debugsource
ffmpeg-devel

How to mitigate CVE-2024-32228

Install updates from vendor's website.

FFmpeg - addressed in versions 6.1.2, 7.0.1
ffmpeg - update to 6.1.1-11
ffmpeg-debuginfo - update to 6.1.1-11
libavdevice - update to 6.1.1-11
ffmpeg-libs - update to 6.1.1-11
ffmpeg-debugsource - update to 6.1.1-11
ffmpeg-devel - update to 6.1.1-11

External References

Related Security Bulletins