CVE-2012-0851: Ffmpeg

Medium severity, CVSS 6.8. EPSS: 3.2% chance of exploitation in the next 30 days.

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 Ffmpeg: up to and including 0.9; version 0.7.1 only; version 0.7.2 only; version 0.7.7 only; version 0.7.8 only; version 0.7.9 only; …
  • Libav Libav: version 0.5 only; version 0.5.1 only; version 0.5.2 only; version 0.5.3 only; version 0.5.4 only; version 0.5.5 only; …

Published 2012-08-20. Last modified 2026-06-16.