CVE-2012-2841 Integer overflow in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary code via a crafted EXIF tag causing an integer underflow and heap overflow in libexif.

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

CVE-2012-2841 is a high-severity vulnerability in n/a, published on 13 Jul 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

Integer underflow in the exif_entry_get_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) 0.6.20 might allow remote attackers to execute arbitrary code via vectors involving a crafted buffer-size parameter during the formatting of an EXIF tag, leading to a heap-based buffer overflow.

Weakness: CWE-189

Which versions are affected by CVE-2012-2841?

It affects 1 product.

Products include Libexif Project Libexif.

How do I fix CVE-2012-2841?

Upgrade to a fixed version.

Is CVE-2012-2841 being exploited?

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

Sources

Also known as ALPINE-CVE-2012-2841, DEBIAN-CVE-2012-2841, GHSA-gf6f-3mxg-9758.

Is CVE-2012-2841 in your software?

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

Check your SBOMs for free