CVE-2012-0858: FFmpeg & Libav - Use After Free
- Cve: CVE-2012-0858
- Name: FFmpeg & Libav - Use After Free
- Description: The Shorten codec (shorten.c) in libavcodec in FFmpeg 0.7.x before 0.7.12 and 0.8.x before 0.8.11, and in Libav 0.5.x before 0.5.9, 0.6.x before 0.6.6, 0.7.x before 0.7.5, and 0.8.x before 0.8.1, allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted Shorten file, related to an "invalid free".
- Impact: Attackers can cause application crashes or execute arbitrary code remotely by crafting malicious Shorten files.
- Remediation: Update to the latest versions of FFmpeg and Libav that include the fix for this vulnerability.
- Vulnerability type: use_after_free
- 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.04344
- Epss percentile: 0.91454
- Assignee: [email protected]
- Published at: 2012-08-20T18:55:02Z
- Age in days: 5209
- Modified at: 2026-06-16T23:38:23Z
- References total: 6
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-0858
- 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
| Id | Name |
|---|---|
| CWE-399 | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ffmpeg:ffmpeg | = 0.8.10, = 0.8.8, = 0.8.7, = 0.8.6, = 0.8.5, = 0.7.11, = 0.7.9, = 0.7.8, = 0.7.7, = 0.7.6, = 0.7.2, = 0.7.1 | no | nvd | /v1/products/ffmpeg/ffmpeg |
| libav:libav | = 0.8 beta2, = 0.8, = 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.5 | no | nvd | /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