CVE-2016-5652 Memory corruption in LibTiff

High 7.0 Published Updated

A heap-based buffer overflow in LibTIFF's TIFF2PDF tool allows remote code execution via crafted TIFF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-5652?

CVE-2016-5652 is a high-severity memory corruption vulnerability in Libtiff Libtiff, published on 6 Jan 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An exploitable heap-based buffer overflow exists in the handling of TIFF images in LibTIFF's TIFF2PDF tool. A crafted TIFF document can lead to a heap-based buffer overflow resulting in remote code execution. Vulnerability can be triggered via a saved TIFF file delivered by other means.

Weakness: CWE-119

Which versions are affected by CVE-2016-5652?

It affects 1 product.

Products include Libtiff Libtiff.

How do I fix CVE-2016-5652?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-5652 being exploited?

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

All Libtiff Libtiff vulnerabilities

Sources

Also known as ALPINE-CVE-2016-5652, DEBIAN-CVE-2016-5652, GHSA-6mjw-r7c8-wvv4, UBUNTU-CVE-2016-5652.

Is CVE-2016-5652 in your software?

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

Check your SBOMs for free