CVE-2012-2840 Integer overflow in n/a

High 7.5 Published Updated

Remote attackers can cause denial of service or execute arbitrary code via crafted EXIF tags in images processed by the libexif library.

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

CVE-2012-2840 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

Off-by-one error in the exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service or possibly execute arbitrary code via crafted EXIF tags in an image.

Weakness: CWE-189

Which versions are affected by CVE-2012-2840?

It affects 1 product.

Products include Libexif Project Libexif.

How do I fix CVE-2012-2840?

Upgrade to a fixed version.

Is CVE-2012-2840 being exploited?

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

Sources

Also known as ALPINE-CVE-2012-2840, DEBIAN-CVE-2012-2840, GHSA-7r47-9m3f-8mp5.

Is CVE-2012-2840 in your software?

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

Check your SBOMs for free