What’s Vulnerable › Vulnerabilities
CVE-2012-0851
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-08-20 · updated 2026-06-16
- Weakness: CWE-119
Description
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 products
- FFmpeg: through 0.9; 0.7.1, 0.7.2, 0.7.7, 0.7.8, 0.7.9, 0.7.11 (+7)
- libav: 0.5, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5 (+18)
References
- http://ffmpeg.org/security.html
- http://ffmpeg.org/trac/ffmpeg/ticket/758
- http://git.videolan.org/?p=ffmpeg.git%3Ba=commit%3Bh=7fff64e00d886fde11d61958888c82b461cf99b9
- http://libav.org/
- http://www.debian.org/security/2012/dsa-2494
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:079
- http://www.openwall.com/lists/oss-security/2012/02/14/4
- http://www.ubuntu.com/usn/USN-1479-1
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78933
- http://ffmpeg.org/security.html
- http://ffmpeg.org/trac/ffmpeg/ticket/758
- http://git.videolan.org/?p=ffmpeg.git%3Ba=commit%3Bh=7fff64e00d886fde11d61958888c82b461cf99b9
Get alerted when CVE-2012-0851 or the next vulnerability affects your stack