CVE-2026-2239 Gimp: gimp: application crash (dos) via crafted psd file due to heap-buffer-overflow

Low 2.8 Published Updated

An attacker can cause a denial of service in GIMP by tricking a user into opening a specially crafted PSD file, triggering a heap-buffer-overflow.

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

CVE-2026-2239 is a low-severity memory corruption vulnerability in Gimp Gimp, published on 26 Mar 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. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.

Weakness: CWE-170

Which versions are affected by CVE-2026-2239?

It affects 2 products.

Linux distribution packages (2)
gimp openSUSE:Leap 16.0All versions3.0.8-bp160.2.1
gimp openSUSE:TumbleweedAll versions3.0.8-2.1

Products include Gimp Gimp, Redhat Enterprise Linux.

How do I fix CVE-2026-2239?

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-2026-2239 being exploited?

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

All Gimp Gimp vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-2239, GHSA-pjv8-58qr-6mxx, UBUNTU-CVE-2026-2239, openSUSE-SU-2026:10195-1, openSUSE-SU-2026:20275-1.

Is CVE-2026-2239 in your software?

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

Check your SBOMs for free