CVE-2012-0851
The ff_h264_decode_seq_parameter_set function in h264_ps.c in libavcodec in FFmpeg before 0.9.1...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2012-0851- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-0851- Updated
- 2026-11-02
EUVDEUVD-2012-0876 No score
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.
- Record
EUVD-2012-0876- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mh6c-cqhm-4rxx No score
The ff_h264_decode_seq_parameter_set function in h264_ps.c in libavcodec in FFmpeg before 0.9.1...
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.
- Record
GHSA-mh6c-cqhm-4rxx- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-0851- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-0851 No score
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.
- Record
DEBIAN-CVE-2012-0851- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ffmpegDebian:12 |
before 7:2.4.1-1 | 7:2.4.1-1 |
ffmpegDebian:13 |
before 7:2.4.1-1 | 7:2.4.1-1 |
ffmpegDebian:14 |
before 7:2.4.1-1 | 7:2.4.1-1 |
ffmpegDebian:6.0 From an advisory covering 4 CVEs |
before 4:0.5.9-1, plus listed versions 4:0.5.2-64:0.5.4-14:0.5.5-14:0.5.6-34:0.5.8-1 |
4:0.5.9-1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-0851 is a medium vulnerability (CVSS 6.8) in Ffmpeg, published June 12, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.23%, the 88th percentile. Fixed in ffmpeg 7:2.4.1-1.
References
ffmpeg.org/trac/ffmpeg/ticket/758
ubuntu.com/usn/USN-1479-1
openwall.com/lists/oss-security/2012/02/14/4
debian.org/security/2012/dsa-2494
libav.org
mandriva.com/security/advisories?name=MDVSA-2013:079
Show 7 moreShow less
git.videolan.org?p=ffmpeg.git%3Ba=commit%3Bh=7fff64e00d886fde11d61958888c82b461cf99b9
ffmpeg.org/security.html
exchange.xforce.ibmcloud.com/vulnerabilities/78933
nvd.nist.gov/vuln/detail/CVE-2012-0851
git.videolan.org?p=ffmpeg.git;a=commit;h=7fff64e00d886fde11d61958888c82b461cf99b9
github.com/advisories/GHSA-mh6c-cqhm-4rxx
security-tracker.debian.org/tracker/CVE-2012-0851