CVE-2017-17786 Memory corruption in n/a

High 7.8 Published Updated

A heap-based buffer over-read in GIMP allows attackers to cause denial of service or disclose sensitive memory information via a crafted TGA image.

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-2017-17786?

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

In GIMP 2.8.22, there is a heap-based buffer over-read in ReadImage in plug-ins/common/file-tga.c (related to bgr2rgb.part.1) via an unexpected bits-per-pixel value for an RGBA image.

Weakness: CWE-125

Which versions are affected by CVE-2017-17786?

It affects 3 products.

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

How do I fix CVE-2017-17786?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLEANSTART-2024-XD61618, DEBIAN-CVE-2017-17786, GHSA-44w3-qvp9-4hh4, UBUNTU-CVE-2017-17786.

Is CVE-2017-17786 in your software?

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

Check your SBOMs for free