Live threats

All CVEs / Ffmpeg

CVE-2012-0851Ffmpeg

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
3.2%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Aug 20, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ffmpeg.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ffmpegffmpeg≤ 0.9
ffmpegffmpeg0.7.1
ffmpegffmpeg0.7.2
ffmpegffmpeg0.7.7
ffmpegffmpeg0.7.8
ffmpegffmpeg0.7.9
ffmpegffmpeg0.7.11
ffmpegffmpeg0.7.12
ffmpegffmpeg0.8.5
ffmpegffmpeg0.8.6
ffmpegffmpeg0.8.7
ffmpegffmpeg0.8.8
ffmpegffmpeg0.8.10
ffmpegffmpeg0.8.11
libavlibav0.5
libavlibav0.5.1
libavlibav0.5.2
libavlibav0.5.3
libavlibav0.5.4
libavlibav0.5.5
libavlibav0.5.6
libavlibav0.5.7
libavlibav0.6
libavlibav0.6.1
libavlibav0.6.2
libavlibav0.6.3
libavlibav0.6.4
libavlibav0.6.5
libavlibav0.7
libavlibav0.7.1
libavlibav0.7.2
libavlibav0.7.3
libavlibav0.7.4
libavlibav0.7.5
libavlibav0.8
libavlibav0.8
libavlibav0.8.1
libavlibav0.8.2

Official sources

References

Links published by the sources. Open them with care.