CVE-2026-40917 Gimp: gimp: application crashes or information disclosure via crafted icns image files

Medium 5.0 Published Updated

A heap buffer over-read in GIMP allows attackers to cause application crashes or disclose sensitive information via crafted ICNS image files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-40917?

CVE-2026-40917 is a medium-severity vulnerability in Gimp Gimp, published on 15 Apr 2026. 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

A flaw was found in GIMP. This vulnerability, a heap buffer over-read in the `icns_slurp()` function, occurs when processing specially crafted ICNS image files. An attacker could provide a malicious ICNS file, potentially leading to application crashes or information disclosure on systems that process such files.

Weakness: CWE-125

Which versions are affected by CVE-2026-40917?

It affects 2 products.

Linux distribution packages (1)
gimp openSUSE:Leap 16.0All versions3.0.8-bp160.4.1

Products include Gimp Gimp, Redhat Enterprise Linux.

How do I fix CVE-2026-40917?

Apply the vendor's patch.

Is CVE-2026-40917 being exploited?

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

All Gimp Gimp vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-40917, GHSA-856r-6q67-9x29, UBUNTU-CVE-2026-40917, openSUSE-SU-2026:21171-1.

Is CVE-2026-40917 in your software?

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

Check your SBOMs for free