Buffer overflow in Ffmpeg

CVE-2012-0851

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.032 (87.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 87.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2012-0851: held from 0.032 to 0.032.

EPSS over last 30 days · oldest: 0.032 · newest: 0.032 · change: 0.000

Affected products

  • Ffmpeg — versions 0.7.1, 0.7.2, 0.7.7
  • Libav — versions 0.5, 0.5.1, 0.5.2

Weakness classification (CWE)

References