Skip to content
OpenAdvisories
High · 7.8 CVE-2026-2045 EUVD-2026-7575GHSA-wx92-h8q5-hfm6

GIMP XWD File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published Feb 20, 2026 · Updated Jul 15, 2026 · Assigned by zdi

Description

GIMP XWD File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of XWD files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28265.

Affected products

VendorProductAffectedFixed
GIMP GIMP 3.0.6 —

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.0~RC3-1 —
Debian 13 gimp 3.0.4-3+deb13u7 DSA-6156-1
Debian 12 gimp 2.10.34-1+deb12u9 DSA-6156-1
Debian 11 gimp 2.10.22-4+deb11u7 DLA-4500-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gimp No fix yet —
Ubuntu 26.04 LTS gimp No fix yet —
Ubuntu 25.10 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
RHEL 9 gimp +1 2:3.0.4-1.el9_7.4 RHSA-2026:4173
RHEL 8 gimp +3 2:2.8.22-26.module+el8.10.0+24086+d017a7e0.5 RHSA-2026:5113
RHEL 8 pygobject2 +3 2.28.7-5.module+el8.10.0+22676+becd68d6 RHSA-2026:5113
RHEL 8 pygtk2 +3 2.24.0-25.module+el8.9.0+21228+8e80d31d RHSA-2026:5113
RHEL 8 python2-cairo +2 1.16.3-7.module+el8.10.0+22676+becd68d6 RHSA-2026:5113
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.6 EUS gimp +1 2:2.99.8-4.el9_6.6 RHSA-2026:5388
RHEL 9.4 EUS gimp +1 2:2.99.8-4.el9_4.5 RHSA-2026:5391
RHEL 9.2 E4S gimp +1 2:2.99.8-4.el9_2.5 RHSA-2026:5389
RHEL 9.0 E4S gimp +1 2:2.99.8-3.el9_0.5 RHSA-2026:5390
RHEL 8.8 TUS gimp +3 2:2.8.22-26.module+el8.8.0+24107+f82cb973.6 RHSA-2026:5437
RHEL 8.8 TUS pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5437
RHEL 8.8 TUS pygtk2 +3 2.24.0-25.module+el8.4.0+9382+ff08b506 RHSA-2026:5437
RHEL 8.8 TUS python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5437
RHEL 8.8 E4S gimp +3 2:2.8.22-26.module+el8.8.0+24107+f82cb973.6 RHSA-2026:5437
RHEL 8.8 E4S pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5437
RHEL 8.8 E4S pygtk2 +3 2.24.0-25.module+el8.4.0+9382+ff08b506 RHSA-2026:5437
RHEL 8.8 E4S python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5437
RHEL 8.6 TUS gimp +3 2:2.8.22-18.module+el8.6.0+24108+2257957b.5 RHSA-2026:5434
RHEL 8.6 TUS pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5434
RHEL 8.6 TUS pygtk2 +3 2.24.0-25.module+el8.4.0+9382+ff08b506 RHSA-2026:5434
RHEL 8.6 TUS python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5434
RHEL 8.6 E4S gimp +3 2:2.8.22-18.module+el8.6.0+24108+2257957b.5 RHSA-2026:5434
RHEL 8.6 E4S pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5434
RHEL 8.6 E4S pygtk2 +3 2.24.0-25.module+el8.4.0+9382+ff08b506 RHSA-2026:5434
RHEL 8.6 E4S python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5434
RHEL 8.6 AUS gimp +3 2:2.8.22-18.module+el8.6.0+24108+2257957b.5 RHSA-2026:5434
RHEL 8.6 AUS pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5434
RHEL 8.6 AUS pygtk2 +3 2.24.0-25.module+el8.4.0+9382+ff08b506 RHSA-2026:5434
RHEL 8.6 AUS python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5434
RHEL 8.4 EUS Long Life gimp +3 2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5 RHSA-2026:5436
RHEL 8.4 EUS Long Life pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5436
RHEL 8.4 EUS Long Life pygtk2 +3 2.24.0-25.module+el8.4.0+9382+ff08b506 RHSA-2026:5436
RHEL 8.4 EUS Long Life python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5436
RHEL 8.4 AUS gimp +3 2:2.8.22-16.module+el8.4.0+24113+b076e1ca.5 RHSA-2026:5436
RHEL 8.4 AUS pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5436
RHEL 8.4 AUS pygtk2 +3 2.24.0-25.module+el8.4.0+9382+ff08b506 RHSA-2026:5436
RHEL 8.4 AUS python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5436
RHEL 8.2 AUS gimp +3 2:2.8.22-16.module+el8.2.0+24109+b4c62726.7 RHSA-2026:5435
RHEL 8.2 AUS pygobject2 +3 2.28.7-4.module+el8+2760+3d7d61b2 RHSA-2026:5435
RHEL 8.2 AUS pygtk2 +3 2.24.0-24.module+el8+2760+3d7d61b2 RHSA-2026:5435
RHEL 8.2 AUS python2-cairo +2 1.16.3-6.module+el8+2760+3d7d61b2 RHSA-2026:5435

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gimp +1 2:3.0.4-1.el9_7.4 ALSA-2026:4173
AlmaLinux 8 gimp +3 2:2.8.22-26.module_el8.10.0+4137+2d0d25cf.5 ALSA-2026:5113
AlmaLinux 8 pygobject2 +3 2.28.7-5.module_el8.10.0+3952+571e801c ALSA-2026:5113
AlmaLinux 8 pygtk2 +3 2.24.0-25.module_el8.9.0+3725+d1441900 ALSA-2026:5113
AlmaLinux 8 python2-cairo +1 1.16.3-7.module_el8.10.0+3952+571e801c ALSA-2026:5113

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 gimp 2:3.0.4-1.el9_7.4 RLSA-2026:4173
Rocky Linux 8 gimp 2:2.8.22-26.module+el8.10.0+1927+52edb5a0 RLSA-2026:5113
Rocky Linux 8 pygobject2 2.28.7-5.module+el8.10.0+1927+52edb5a0 RLSA-2026:5113
Rocky Linux 8 pygtk2 2.24.0-25.module+el8.9.0+1723+9bc93544 RLSA-2026:5113
Rocky Linux 8 python2-pycairo 1.16.3-7.module+el8.10.0+1927+52edb5a0 RLSA-2026:5113
ReleasePackageFixed inAdvisory
SLES 15 SP7 gimp 2.10.30-150400.3.47.1 SUSE-SU-2026:0684-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 gimp 2.10.30-150400.3.47.1 SUSE-SU-2026:0684-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gimp +1 2:3.0.4-1.el9_7.4 ELSA-2026-4173
Oracle Linux 8 gimp +3 2:2.8.22-26.module+el8.10.0+90845+49de5bf7.5 ELSA-2026-5113
Oracle Linux 8 pygobject2 +3 2.28.7-5.module+el8.10.0+90497+ae78887f ELSA-2026-5113
Oracle Linux 8 pygtk2 +3 2.24.0-25.module+el8.9.0+90151+46a7e4b5 ELSA-2026-5113
Oracle Linux 8 python2-cairo +1 1.16.3-7.module+el8.10.0+90497+ae78887f ELSA-2026-5113

Advisories 20

References