CVE-2017-17787 Memory corruption in n/a

High 7.8 Published Updated

A heap-based buffer over-read in GIMP's PSP file parser allows attackers to cause denial of service or potentially execute code via malicious 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-2017-17787?

CVE-2017-17787 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 read_creator_block in plug-ins/common/file-psp.c.

Weakness: CWE-125

Which versions are affected by CVE-2017-17787?

It affects 3 products.

Linux distribution packages (4)
gimp SUSE:Linux Enterprise Software Development Kit 12 SP5All versions2.8.18-9.15.2
gimp SUSE:Linux Enterprise Workstation Extension 12 SP5All versions2.8.18-9.15.2
gimp SUSE:Linux Enterprise Workstation Extension 15 SP1All versions2.8.22-5.8.1
gimp openSUSE:Leap 15.1All versions2.8.22-lp151.5.6.1

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

How do I fix CVE-2017-17787?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as CLEANSTART-2024-II94239, DEBIAN-CVE-2017-17787, GHSA-gh65-7qg5-gfmr, SUSE-SU-2020:3940-1, SUSE-SU-2020:3944-1, UBUNTU-CVE-2017-17787 and 1 more.

Is CVE-2017-17787 in your software?

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

Check your SBOMs for free