Heap-based buffer overflow in FFmpeg - CVE-2017-9995

 

Heap-based buffer overflow in FFmpeg - CVE-2017-9995

Published: June 28, 2017 / Updated: October 12, 2021


Vulnerability identifier: #VU38804
CSH Severity: Medium
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-9995
CWE-ID: CWE-122
Exploitation vector: Local 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 in libavcodec/scpr.c in FFmpeg 3.3 before 3.3.1 does not properly validate height and width data, which. A remote attacker can use a crafted file. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

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


Affected software

FFmpeg

How to mitigate CVE-2017-9995

Install update from vendor's website.


External References

Related Security Bulletins