CVE-2013-2126 Use after free in n/a

High 7.5 Published Updated

A double free vulnerability in LibRaw allows attackers to cause a crash or execute arbitrary code via malicious image files.

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-2013-2126?

CVE-2013-2126 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 14 Aug 2013. 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

Multiple double free vulnerabilities in the LibRaw::unpack function in libraw_cxx.cpp in LibRaw before 0.15.2 allow context-dependent attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a malformed full-color (1) Foveon or (2) sRAW image file.

Weakness: CWE-399

Which versions are affected by CVE-2013-2126?

It affects 3 products.

Products include Canonical Ubuntu Linux, Libraw Libraw, Opensuse Opensuse.

How do I fix CVE-2013-2126?

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-2013-2126 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-2126, GHSA-f8qw-gp3p-w497, MGASA-2013-0167, MGASA-2013-0219, MGASA-2013-0223.

Is CVE-2013-2126 in your software?

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

Check your SBOMs for free