Buffer overflow in Libav and FFmpeg - CVE-2012-0851

 

Buffer overflow in Libav and FFmpeg - CVE-2012-0851

Published: August 20, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43703
CSH Severity: Medium
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0851
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

The ff_h264_decode_seq_parameter_set function in h264_ps.c in libavcodec in FFmpeg before 0.9.1 and in Libav 0.5.x before 0.5.9, 0.6.x before 0.6.6, 0.7.x before 0.7.6, and 0.8.x before 0.8.3 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted H.264 file, related to the chroma_format_idc value.


Affected software

Libav
FFmpeg
Gentoo Linux

How to mitigate CVE-2012-0851

Install update from vendor's website.


External References

Related Security Bulletins