CVE-2017-5225 Memory corruption in n/a

High 8.8 Published Updated

Heap buffer overflow in LibTIFF allows attackers to execute arbitrary code or cause denial of service via crafted 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-2017-5225?

CVE-2017-5225 is a high-severity memory corruption vulnerability in Libtiff Libtiff, published on 12 Jan 2017. 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

LibTIFF version 4.0.7 is vulnerable to a heap buffer overflow in the tools/tiffcp resulting in DoS or code execution via a crafted BitsPerSample value.

Weakness: CWE-119, CWE-122

Which versions are affected by CVE-2017-5225?

It affects 1 product.

Linux distribution packages (9)
tiff SUSE:Linux Enterprise Desktop 12 SP1All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Desktop 12 SP2All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Server 12 SP1All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Server 12 SP2All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Software Development Kit 12 SP1All versions4.0.7-40.1
tiff SUSE:Linux Enterprise Software Development Kit 12 SP2All versions4.0.7-40.1

Products include Libtiff Libtiff.

How do I fix CVE-2017-5225?

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-2017-5225 being exploited?

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

All Libtiff Libtiff vulnerabilities

Sources

Also known as ALPINE-CVE-2017-5225, CLSA-2025-1758896312, CLSA-2025-1760022663, DEBIAN-CVE-2017-5225, GHSA-rgrw-hm5r-cxr3, SUSE-SU-2017:0453-1 and 1 more.

Is CVE-2017-5225 in your software?

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

Check your SBOMs for free