Vulnerabilities · 2012 · Ffmpeg
CVE-2012-0851
Ffmpeg vulnerability
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, Libav. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ffmpeg runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- ffmpeg.org/trac/ffmpeg/ticket/758 · Vendor Advisory
- libav.org/ · Vendor Advisory
- ffmpeg.org/security.html
- git.videolan.org/?p=ffmpeg.git%3Ba=commit%3Bh=7fff64e00d886fde11d61958888c82b461cf99b9
- www.debian.org/security/2012/dsa-2494
- www.mandriva.com/security/advisories?name=MDVSA-2013:079
- www.openwall.com/lists/oss-security/2012/02/14/4
- www.ubuntu.com/usn/USN-1479-1
- nvd.nist.gov/vuln/detail/CVE-2012-0851
- cve.org/CVERecord?id=CVE-2012-0851
More vulnerabilities in Ffmpeg products
CVE-2025-63757CVE-2025-25469CVE-2025-25468CVE-2025-22921CVE-2025-1594CVE-2025-1373CVE-2025-0518CVE-2024-55069All 474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.