SecurityContext

CVE-2012-0851: FFmpeg & Libav - Buffer Overflow

  • Cve: CVE-2012-0851
  • Name: FFmpeg & Libav - Buffer Overflow
  • 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.
  • Impact: Attackers can cause application crashes or execute arbitrary code by crafting malicious H.264 files.
  • Remediation: Update to FFmpeg 0.9.1 or later, and Libav 0.8.3 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.8
  • Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Epss score: 0.03233
  • Epss percentile: 0.88592
  • Assignee: [email protected]
  • Published at: 2012-08-20T18:55:02Z
  • Age in days: 5209
  • Modified at: 2026-06-16T23:38:23Z
  • References total: 9
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-0851
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Same in every row:

  • Source: nvd
UrlTags
http://ffmpeg.org/trac/ffmpeg/ticket/758Vendor Advisory
http://libav.org/Vendor Advisory
http://ffmpeg.org/security.html
http://git.videolan.org/?p=ffmpeg.git%3Ba=commit%3Bh=7fff64e00d886fde11d61958888c82b461cf99b9
http://www.debian.org/security/2012/dsa-2494
http://www.mandriva.com/security/advisories?name=MDVSA-2013:079
http://www.openwall.com/lists/oss-security/2012/02/14/4
http://www.ubuntu.com/usn/USN-1479-1
https://exchange.xforce.ibmcloud.com/vulnerabilities/78933

Products

ProductAffectedPlatform boundSourcesUrl
ffmpeg:ffmpeg<= 0.9, = 0.8.11, = 0.8.10, = 0.8.8, = 0.8.7, = 0.8.6, = 0.8.5, = 0.7.12, = 0.7.11, = 0.7.9, = 0.7.8, = 0.7.7, = 0.7.2, = 0.7.1nonvd/v1/products/ffmpeg/ffmpeg
libav:libav= 0.8 beta2, = 0.8.2, = 0.8.1, = 0.8, = 0.7.5, = 0.7.4, = 0.7.3, = 0.7.2, = 0.7.1, = 0.7, = 0.6.5, = 0.6.4, = 0.6.3, = 0.6.2, = 0.6.1, = 0.6, = 0.5.7, = 0.5.6, = 0.5.5, = 0.5.4, = 0.5.3, = 0.5.2, = 0.5.1, = 0.5nonvd/v1/products/libav/libav

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts