CVE-2012-5581 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code or cause a crash via a crafted TIFF image due to a stack-based buffer overflow in LibTIFF.

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

CVE-2012-5581 is a medium-severity memory corruption vulnerability in Libtiff Libtiff, published on 4 Jan 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

Stack-based buffer overflow in tif_dir.c in LibTIFF before 4.0.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted DOTRANGE tag in a TIFF image.

Weakness: CWE-119

Which versions are affected by CVE-2012-5581?

It affects 1 product.

Products include Libtiff Libtiff.

How do I fix CVE-2012-5581?

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

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

All Libtiff Libtiff vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-5581, DSA-2589-1, GHSA-jvhr-577x-xxvq.

Is CVE-2012-5581 in your software?

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

Check your SBOMs for free