CVE-2012-0947 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code or cause a crash via a crafted VQA media file due to a heap-based buffer overflow in Libav.

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

CVE-2012-0947 is a medium-severity memory corruption vulnerability in Libav Libav, 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

Heap-based buffer overflow in the vqa_decode_chunk function in the VQA codec (vqavideo.c) in libavcodec 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.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted VQA media file in which the image size is not a multiple of the block size.

Weakness: CWE-119

Which versions are affected by CVE-2012-0947?

It affects 1 product.

Products include Libav Libav.

How do I fix CVE-2012-0947?

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-0947 being exploited?

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

All Libav Libav vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-0947, GHSA-mrcx-gg4f-hxqf.

Is CVE-2012-0947 in your software?

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

Check your SBOMs for free