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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gimp | 3.2.6-1 | — |
| Debian 13 | gimp | 3.0.4-3+deb13u11 | — |
| Debian 12 | gimp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gimp | No fix yet | — |
| Ubuntu 26.04 LTS | gimp | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | gimp | 2.10.30-150400.3.74.1 | SUSE-SU-2026:4309-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- SUSE-SU-2026:4309-1 Security update for gimp SUSE / openSUSE Security Updates · Sep 24, 2026
- WID-SEC-2026-2986 GIMP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 23, 2026
- openSUSE-SU-2026:21869-1 Security update for gimp SUSE / openSUSE Security Updates · Sep 17, 2026
- openSUSE-SU-2026:11771-1 gimp-3.2.6-1.1 on GA media SUSE / openSUSE Security Updates · Sep 15, 2026