CVE-2026-4887 Gimp: gimp:memory disclosure and denial of service via specially crafted pcx image

Medium 6.1 Published Updated

A heap buffer over-read in GIMP's PCX loader allows attackers to disclose memory or crash the application via a crafted 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-2026-4887?

CVE-2026-4887 is a medium-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. This issue is a heap buffer over-read in GIMP PCX file loader due to an off-by-one error. A remote attacker could exploit this by convincing a user to open a specially crafted PCX image. Successful exploitation could lead to out-of-bounds memory disclosure and a possible application crash, resulting in a Denial of Service (DoS).

Weakness: CWE-193

Which versions are affected by CVE-2026-4887?

It affects 1 product.

Linux distribution packages (2)
gimp SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions2.10.30-150400.3.53.1
gimp SUSE:Linux Enterprise Workstation Extension 15 SP7All versions2.10.30-150400.3.53.1

Products include Gimp Gimp.

How do I fix CVE-2026-4887?

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

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

All Gimp Gimp vulnerabilities

Sources

Also known as CLSA-2026-1777397602, DEBIAN-CVE-2026-4887, GHSA-wmqx-rmqw-vxp8, OESA-2026-1810, OESA-2026-1811, OESA-2026-1812 and 3 more.

Is CVE-2026-4887 in your software?

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

Check your SBOMs for free