CVE-2026-66759 Gimp: out-of-bounds read in file-icns plugin causes information disclosure or crash on crafted icns images

High 7.1 Published Updated

A crafted ICNS image triggers an out-of-bounds read in GIMP, leaking heap memory or causing a crash.

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-2026-66759?

CVE-2026-66759 is a high-severity vulnerability in Gimp Gimp, published on 27 Jul 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 the file-icns plugin in GIMP. When applying a decompressed mask during ICNS image processing, the plugin reads from the mask data buffer without verifying if the cursor exceeds the allocated resource size. If a crafted file contains a truncated mask resource, the icns_decompress function continues reading past the bounds of the buffer. This out-of-bounds read vulnerability results in information disclosure of heap contents, where memory contents are leaked as alpha channel pixel values, or a crash leading to a denial of service if unmapped memory is accessed.

Weakness: CWE-125

Which versions are affected by CVE-2026-66759?

It affects 2 products.

Products include Gimp Gimp, Redhat Enterprise Linux.

How do I fix CVE-2026-66759?

Apply the vendor's patch.

Is CVE-2026-66759 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-66759 exists.

All Gimp Gimp vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-66759, GHSA-2gmh-5658-rrq3, UBUNTU-CVE-2026-66759.

Is CVE-2026-66759 in your software?

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

Check your SBOMs for free