CVE-2017-9935 Memory corruption in n/a

High 8.8 Published Updated

A heap-based buffer overflow in LibTIFF allows attackers to execute arbitrary code or cause denial of service via crafted TIFF documents.

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

CVE-2017-9935 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 26 Jun 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

In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.

Weakness: CWE-125

Which versions are affected by CVE-2017-9935?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Libtiff Libtiff.

How do I fix CVE-2017-9935?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-9935, DEBIAN-CVE-2017-9935, DLA-1206-1, GHSA-ccm9-9gxr-9m3p, UBUNTU-CVE-2017-9935.

Is CVE-2017-9935 in your software?

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

Check your SBOMs for free