Skip to content
OpenAdvisories
High · 7.0 CVE-2026-78465 EUVD-2026-64935GHSA-944m-78f8-q7cr

Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit

Published Aug 24, 2026 · Updated Nov 4, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
GNOME GIMP — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.2.6-1 —
Debian 13 gimp 3.0.4-3+deb13u11 —
Debian 12 gimp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gimp No fix yet —
Ubuntu 26.04 LTS gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp No fix yet —
Ubuntu Pro 22.04 LTS gimp No fix yet —
Ubuntu Pro 20.04 LTS gimp No fix yet —
Ubuntu Pro 18.04 LTS gimp No fix yet —
Ubuntu Pro 16.04 LTS gimp No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 gimp 2.10.30-150400.3.74.1 SUSE-SU-2026:4309-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gimp 3.2.6-1.1 openSUSE-SU-2026:11771-1
openSUSE Leap 16.0 gimp 3.0.8-bp160.9.1 openSUSE-SU-2026:21869-1

Advisories 4

References