CVE-2012-0851 Memory corruption in n/a
Remote attackers can cause denial of service or execute arbitrary code via crafted H.264 files in FFmpeg and Libav libraries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-0851?
CVE-2012-0851 is a medium-severity memory corruption vulnerability in Ffmpeg Ffmpeg, published on 20 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2012-0851?
It affects 2 products.
Products include Ffmpeg Ffmpeg, Libav Libav.
How do I fix CVE-2012-0851?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2012-0851 being exploited?
There is no known exploitation of CVE-2012-0851 in the wild and no public exploit code.
Other vulnerabilities in Ffmpeg Ffmpeg
Sources
Also known as DEBIAN-CVE-2012-0851, GHSA-mh6c-cqhm-4rxx.