Out-of-bounds write in FFmpeg - CVE-2020-35964

 

Out-of-bounds write in FFmpeg - CVE-2020-35964

Published: January 3, 2021 / Updated: May 26, 2021


Vulnerability identifier: #VU49222
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-2020-35964
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input within the track_header() function in libavformat/vividas.c. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

FFmpeg
Arch Linux
Gentoo Linux
openEuler
ffmpeg
ffmpeg-debuginfo
ffmpeg-debugsource
libavdevice
ffmpeg-devel
ffmpeg-libs

How to mitigate CVE-2020-35964

Install update from vendor's website.

FFmpeg - update to 4.3.2
ffmpeg - update to 4.2.4-4
ffmpeg-debuginfo - update to 4.2.4-4
ffmpeg-debugsource - update to 4.2.4-4
libavdevice - update to 4.2.4-4
ffmpeg-devel - update to 4.2.4-4
ffmpeg-libs - update to 4.2.4-4

External References

Related Security Bulletins