ZeroHour

CVE-2026-78465

PoC large

Heap buffer overflow in GIMP PCX plugin on 32-bit builds

CVSS 3.1
7.0 high
EPSS
<1%p14
Published
()
Modified
AI analysis

CVE-2026-78465 is an integer overflow (CWE-190) in GIMP's file-pcx plugin, limited to 32-bit builds of the application. When a user opens a crafted PCX image that declares 4 color planes with sufficiently large dimensions, the plugin's allocation-size calculation exceeds the 32-bit integer limit, producing an undersized heap buffer that is then overflowed as image data is written into it. Successful exploitation causes memory corruption that can lead to arbitrary code execution in the context of the GIMP process, or at minimum a crash/denial of service. Only users running 32-bit GIMP builds are affected, and because the CVSS vector is local (AV:L) with user interaction required (UI:R), an attacker needs the victim to open a malicious PCX file. Exploitation has not been reported in the wild; one public proof-of-concept/issue reference exists on the GNOME GitLab tracker, EPSS is a low 0.2%, and the issue is not in CISA KEV.

What to do: Users of 32-bit GIMP builds should avoid opening untrusted PCX files until a patched release is available, and should watch the GNOME/GIMP tracker (issue 16578) and Red Hat/vendor advisories for the fix; 64-bit builds are not affected, so switching to a 64-bit build where the OS supports it fully mitigates the flaw. Admins should inventory which endpoints run 32-bit GIMP builds and prioritize those for remediation.

Affected
gimp (file-pcx plugin)
Estimated exposure
largeon the order of 100,000s of 32-bit GIMP installations (estimate) — GIMP is one of the most widely downloaded open-source image editors, but only the minority of installs on 32-bit Windows/Linux systems are vulnerable, plausibly placing the at-risk population in the low hundreds of thousands; no precise…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in the file-pcx plugin in GIMP, affecting 32-bit builds only. When processing a PCX image file, the plugin calculates memory allocation sizes based on the image dimensions and the number of color planes. If a crafted file sets the number of planes to 4 alongside sufficiently large dimensions, the calculation exceeds the 32-bit integer limit and overflows, resulting in an undersized heap-based buffer allocation. This integer overflow issue results in a heap-based buffer overflow when the plugin subsequently writes image data into the undersized buffer, causing memory corruption, potentially leading to arbitrary code execution or a denial of service.

Vendors
gimp
Products
gimp
Weakness
CWE-190
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.