CVE-2012-2797 Memory corruption in n/a

Critical 10.0 Published Updated

A vulnerability in FFmpeg's MP3 decoder allows attackers to cause memory corruption via crafted media files, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-2797?

CVE-2012-2797 is a critical memory corruption vulnerability in Ffmpeg Ffmpeg, published on 10 Sep 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Unspecified vulnerability in the decode_frame_mp3on4 function in libavcodec/mpegaudiodec.c in FFmpeg before 0.11 and Libav 0.8.x before 0.8.5 has unknown impact and attack vectors related to a calculation that prevents a frame from being "large enough."

Which versions are affected by CVE-2012-2797?

It affects 2 products.

Products include Ffmpeg Ffmpeg, Libav Libav.

How do I fix CVE-2012-2797?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2012-2797 being exploited?

There is no known exploitation of CVE-2012-2797 in the wild and no public exploit code.

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-2797, GHSA-c9gh-9qxq-gm83.

Is CVE-2012-2797 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free