CVE-2012-2803: Double Free

Published Sep 10, 2012
·
Updated

Double free vulnerability in the mpegdecodeframe function in libavcodec/mpeg12.c in FFmpeg before 0.11, and Libav 0.7.x before 0.7.7 and 0.8.x before 0.8.5, has unknown impact and attack vectors, related to resetting the data size value.

Affected Software

74 affected componentsFixes available
Libav Libav=0.8
Libav Libav=0.8-beta2
Libav Libav=0.8.1
Libav Libav=0.8.2
Libav Libav=0.8.3
Libav Libav=0.8.4
FFmpeg FFmpeg<=0.10.4
FFmpeg FFmpeg=0.3
FFmpeg FFmpeg=0.3.1
FFmpeg FFmpeg=0.3.2
FFmpeg FFmpeg=0.3.3
FFmpeg FFmpeg=0.3.4
FFmpeg FFmpeg=0.4.0
FFmpeg FFmpeg=0.4.2
FFmpeg FFmpeg=0.4.3
FFmpeg FFmpeg=0.4.4
FFmpeg FFmpeg=0.4.5
FFmpeg FFmpeg=0.4.6
FFmpeg FFmpeg=0.4.7
FFmpeg FFmpeg=0.4.8
FFmpeg FFmpeg=0.4.9
FFmpeg FFmpeg=0.4.9-pre1
FFmpeg FFmpeg=0.5
FFmpeg FFmpeg=0.5.1
FFmpeg FFmpeg=0.5.2
FFmpeg FFmpeg=0.5.3
FFmpeg FFmpeg=0.5.4
FFmpeg FFmpeg=0.5.4.5
FFmpeg FFmpeg=0.5.4.6
FFmpeg FFmpeg=0.6
FFmpeg FFmpeg=0.6.1
FFmpeg FFmpeg=0.6.2
FFmpeg FFmpeg=0.6.3
FFmpeg FFmpeg=0.7
FFmpeg FFmpeg=0.7.1
FFmpeg FFmpeg=0.7.2
FFmpeg FFmpeg=0.7.3
FFmpeg FFmpeg=0.7.4
FFmpeg FFmpeg=0.7.5
FFmpeg FFmpeg=0.7.6
FFmpeg FFmpeg=0.7.7
FFmpeg FFmpeg=0.7.8
FFmpeg FFmpeg=0.7.9
FFmpeg FFmpeg=0.7.11
FFmpeg FFmpeg=0.7.12
FFmpeg FFmpeg=0.8.0
FFmpeg FFmpeg=0.8.1
FFmpeg FFmpeg=0.8.2
FFmpeg FFmpeg=0.8.5
FFmpeg FFmpeg=0.8.5.3
FFmpeg FFmpeg=0.8.5.4
FFmpeg FFmpeg=0.8.6
FFmpeg FFmpeg=0.8.7
FFmpeg FFmpeg=0.8.8
FFmpeg FFmpeg=0.8.10
FFmpeg FFmpeg=0.8.11
FFmpeg FFmpeg=0.9
FFmpeg FFmpeg=0.9.1
FFmpeg FFmpeg=0.10
FFmpeg FFmpeg=0.10.3
Libav Libav=0.7
Libav Libav=0.7-beta1
Libav Libav=0.7-beta2
Libav Libav=0.7.1
Libav Libav=0.7.2
Libav Libav=0.7.3
Libav Libav=0.7.4
Libav Libav=0.7.5
Libav Libav=0.7.6
debian/ffmpeg<7:2.4.1-1
7:2.4.1-1
debian/ffmpeg<7:2.4.1-1
7:2.4.1-1
debian/ffmpeg<7:2.4.1-1
7:2.4.1-1
debian/ffmpeg
4:0.5.10-17:2.4.1-1
debian/libav
6:0.8.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ffmpeg to a version that resolves this vulnerability.

    Fixed in 7:2.4.1-1
  2. Upgrade

    Upgrade debian/ffmpeg to a version that resolves this vulnerability.

    Fixed in 4:0.5.10-1Fixed in 7:2.4.1-1
  3. Upgrade

    Upgrade debian/libav to a version that resolves this vulnerability.

    Fixed in 6:0.8.5-1

Event History

Sep 10, 2012
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
10:55 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·10:55 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2012-2803?

The severity of CVE-2012-2803 is currently unknown due to the unspecified impact and attack vectors associated with the vulnerability.

2

How do I fix CVE-2012-2803?

To fix CVE-2012-2803, update to FFmpeg versions newer than 0.10.4 or Libav versions 0.7.7 and 0.8.5 or later.

3

Which software versions are affected by CVE-2012-2803?

CVE-2012-2803 affects FFmpeg versions up to 0.10.4 and Libav versions prior to 0.7.7 and 0.8.5.

4

What type of vulnerability is CVE-2012-2803?

CVE-2012-2803 is classified as a double free vulnerability in the mpeg_decode_frame function.

5

Can I safely use affected versions of FFmpeg and Libav?

Using affected versions of FFmpeg and Libav is not recommended as they may expose your system to potential vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203