Heap-based buffer overflow in FFmpeg - CVE-2014-5271

 

Heap-based buffer overflow in FFmpeg - CVE-2014-5271

Published: November 3, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32496
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-5271
CWE-ID: CWE-122
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 in Heap-based buffer overflow in the encode_slice function in libavcodec/proresenc_kostya.c in FFMpeg before 1.1.14, 1.2.x before 1.2.8, 2.x before 2.2.7, and 2.3.x before 2.3.3 and Libav before 10.5. A remote attacker can use unspecified vectors. 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
Gentoo Linux
ffmpeg (Alpine package)
media-video/ffmpeg

How to mitigate CVE-2014-5271

Update to version 2.3.3.

FFmpeg - update to 2.3.3
ffmpeg (Alpine package) - update to 1.1.14-r0
media-video/ffmpeg - update to 2.6.3

External References

Related Security Bulletins