CVE-2017-9117 Memory corruption in LibTIFF

Medium 4.0 Published Updated

A heap-based buffer over-read in LibTIFF allows attackers to cause denial of service or disclose sensitive memory contents via crafted BMP images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-9117?

CVE-2017-9117 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 21 May 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In LibTIFF 4.0.6 and possibly other versions, the program processes BMP images without verifying that biWidth and biHeight in the bitmap-information header match the actual input, as demonstrated by a heap-based buffer over-read in bmp2tiff. NOTE: mentioning bmp2tiff does not imply that the activation point is in the bmp2tiff.c file (which was removed before the 4.0.7 release).

Weakness: CWE-125

Which versions are affected by CVE-2017-9117?

It affects 2 products.

Products include Canonical Ubuntu Linux, Libtiff Libtiff.

How do I fix CVE-2017-9117?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLSA-2025-1757666692, DEBIAN-CVE-2017-9117, ECHO-ebd8-f169-4a50, GHSA-v898-4vh8-7f99, UBUNTU-CVE-2017-9117.

Is CVE-2017-9117 in your software?

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

Check your SBOMs for free