Out-of-bounds write in Gimp - CVE-2026-2045

 

Out-of-bounds write in Gimp - CVE-2026-2045

Published: February 20, 2026


Vulnerability identifier: #VU123099
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-2045
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input. A remote attacker can create a specially crafted XWD file, trick the victim into opening it using the affected software, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

Gimp
Debian Linux
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Workstation Extension 15
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE Package Hub 15
openSUSE Leap
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
python2-cairo-devel
python2-cairo
gimp-libs
gimp-devel-tools
gimp-devel
gimp
gimp-help
gimp-debugsource
gimp-debuginfo
libgimp-2_0-0
libgimpui-2_0-0-64bit-debuginfo
libgimp-2_0-0-64bit
libgimp-2_0-0-64bit-debuginfo
libgimp-2_0-0-32bit-debuginfo
gimp-devel-debuginfo
gimp-plugin-aa-debuginfo
libgimp-2_0-0-debuginfo
libgimpui-2_0-0-debuginfo
gimp-plugin-aa
libgimpui-2_0-0
gimp-lang
libgimpui-2_0-0-32bit-debuginfo
libgimpui-2_0-0-32bit
libgimp-2_0-0-32bit
libgimpui-2_0-0-64bit
gimp (Debian package)
pygtk2
pygtk2-codegen
pygtk2-devel
pygtk2-doc
pygobject2-doc
pygobject2-devel
pygobject2-codegen
pygobject2
gimp (Red Hat package)
gimp-plugin-python3
gimp-extension-goat-excercises
gimp-vala

How to mitigate CVE-2026-2045

Install updates from vendor's website.

Gimp - update to 3.0.8
python2-cairo-devel - update to 1.16.3-7
python2-cairo - update to 1.16.3-7
gimp-libs - update to 2.8.22-26
gimp-devel-tools - update to 2.8.22-26
gimp-devel - update to 2.8.22-26
gimp - update to 2.8.22-26
gimp - addressed in versions 2.10.6-20, 3.0.2-9
gimp-libs - addressed in versions 2.10.6-20, 3.0.2-9
gimp-help - update to 2.10.6-20
gimp-devel - addressed in versions 2.10.6-20, 3.0.2-9
gimp-debugsource - addressed in versions 2.10.6-20, 3.0.2-9
gimp-debuginfo - addressed in versions 2.10.6-20, 3.0.2-9
gimp-devel - update to 2.10.30-150400.3.47.1
libgimp-2_0-0 - update to 2.10.30-150400.3.47.1
libgimpui-2_0-0-64bit-debuginfo - update to 2.10.30-150400.3.47.1
libgimp-2_0-0-64bit - update to 2.10.30-150400.3.47.1
libgimp-2_0-0-64bit-debuginfo - update to 2.10.30-150400.3.47.1
libgimp-2_0-0-32bit-debuginfo - update to 2.10.30-150400.3.47.1
gimp-devel-debuginfo - update to 2.10.30-150400.3.47.1
gimp-debuginfo - update to 2.10.30-150400.3.47.1
gimp-plugin-aa-debuginfo - update to 2.10.30-150400.3.47.1
libgimp-2_0-0-debuginfo - update to 2.10.30-150400.3.47.1
libgimpui-2_0-0-debuginfo - update to 2.10.30-150400.3.47.1
gimp-debugsource - update to 2.10.30-150400.3.47.1
gimp - update to 2.10.30-150400.3.47.1
gimp-plugin-aa - update to 2.10.30-150400.3.47.1
libgimpui-2_0-0 - update to 2.10.30-150400.3.47.1
gimp-lang - update to 2.10.30-150400.3.47.1
libgimpui-2_0-0-32bit-debuginfo - update to 2.10.30-150400.3.47.1
libgimpui-2_0-0-32bit - update to 2.10.30-150400.3.47.1
libgimp-2_0-0-32bit - update to 2.10.30-150400.3.47.1
libgimpui-2_0-0-64bit - update to 2.10.30-150400.3.47.1
gimp (Debian package) - addressed in versions 2.10.34-1+deb12u9, 3.0.4-3+deb13u7
pygtk2 - update to 2.24.0-25
pygtk2-codegen - update to 2.24.0-25
pygtk2-devel - update to 2.24.0-25
pygtk2-doc - update to 2.24.0-25
pygobject2-doc - update to 2.28.7-5
pygobject2-devel - update to 2.28.7-5
pygobject2-codegen - update to 2.28.7-5
pygobject2 - update to 2.28.7-5
gimp (Red Hat package) - addressed in versions 2.99.8-3.el9_0.5, 2.99.8-4.el9_4.5, 2.99.8-4.el9_6.6, 3.0.4-1.el9_7.4
gimp-plugin-python3 - update to 3.0.2-9
gimp-plugin-aa - update to 3.0.2-9
gimp-extension-goat-excercises - update to 3.0.2-9
gimp-vala - update to 3.0.2-9

External References

Related Security Bulletins