CVE-2012-0858 Use after free in n/a

Medium 6.8 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via a crafted Shorten file due to an invalid free in FFmpeg.

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-0858?

CVE-2012-0858 is a medium-severity use after free vulnerability in Ffmpeg Ffmpeg, published on 20 Aug 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

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".

Weakness: CWE-399

Which versions are affected by CVE-2012-0858?

It affects 2 products.

Products include Ffmpeg Ffmpeg, Libav Libav.

How do I fix CVE-2012-0858?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2012-0858 being exploited?

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

All Ffmpeg Ffmpeg vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-0858, GHSA-2pg8-mr5w-rhvw.

Is CVE-2012-0858 in your software?

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

Check your SBOMs for free