Heap-based buffer overflow in Gimp - CVE-2025-10934

 

Heap-based buffer overflow in Gimp - CVE-2025-10934

Published: October 30, 2025


Vulnerability identifier: #VU117802
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-2025-10934
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error. A remote attacker can trick a victim to open a specially crafted XWD file, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gimp
Debian Linux
Gentoo 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 x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libgimp2.0 (Ubuntu package)
gimp (Ubuntu package)
libgimp2.0t64 (Ubuntu package)
python2-cairo
python2-cairo-devel
gimp
gimp-devel
gimp-devel-tools
gimp-libs
gimp (Red Hat package)
gimp-debuginfo
gimp-debugsource
gimp-help
gimp-devel-debuginfo
gimp-plugin-aa
libgimpui-2_0-0-debuginfo
libgimp-2_0-0
libgimp-2_0-0-debuginfo
libgimpui-2_0-0
gimp-plugin-aa-debuginfo
gimp-lang
libgimp-2_0-0-32bit-debuginfo
libgimpui-2_0-0-32bit-debuginfo
libgimpui-2_0-0-32bit
libgimp-2_0-0-32bit
libgimp-2_0-0-64bit-debuginfo
libgimpui-2_0-0-64bit
libgimpui-2_0-0-64bit-debuginfo
libgimp-2_0-0-64bit
pygtk2-doc
pygtk2-devel
pygtk2-codegen
pygtk2
pygobject2
pygobject2-codegen
pygobject2-devel
pygobject2-doc
gimp-extension-goat-excercises
gimp-vala
gimp-plugin-python3
media-gfx/gimp
gimp (Debian package)

How to mitigate CVE-2025-10934

Install updates from vendor's website.

Gimp - update to 3.0.6
libgimp2.0 (Ubuntu package) - addressed in versions 2.8.16-1ubuntu1.1+esm2, 2.8.22-1ubuntu0.1~esm2, 2.10.18-1ubuntu0.1+esm2, 2.10.30-1ubuntu0.1+esm2
gimp (Ubuntu package) - addressed in versions 2.8.16-1ubuntu1.1+esm2, 2.8.22-1ubuntu0.1~esm2, 2.10.18-1ubuntu0.1+esm2, 2.10.30-1ubuntu0.1+esm2, 2.10.36-3ubuntu0.24.04.1+esm2
libgimp2.0t64 (Ubuntu package) - update to 2.10.36-3ubuntu0.24.04.1+esm2
python2-cairo - update to 1.16.3-7
python2-cairo-devel - update to 1.16.3-7
gimp - addressed in versions 2.8.22-1, 2.8.22-26
gimp-devel - addressed in versions 2.8.22-1, 2.8.22-26
gimp-devel-tools - addressed in versions 2.8.22-1, 2.8.22-26
gimp-libs - addressed in versions 2.8.22-1, 2.8.22-26
gimp (Red Hat package) - addressed in versions 2.8.22-1.el7_9.4, 2.99.8-3.el9_0.2, 2.99.8-4.el9_2.2, 2.99.8-4.el9_6.3, 3.0.4-1.el9_7.1
gimp - addressed in versions 2.10.6-15, 3.0.2-5
gimp-debuginfo - addressed in versions 2.10.6-15, 3.0.2-5
gimp-debugsource - addressed in versions 2.10.6-15, 3.0.2-5
gimp-devel - addressed in versions 2.10.6-15, 3.0.2-5
gimp-help - update to 2.10.6-15
gimp-libs - addressed in versions 2.10.6-15, 3.0.2-5
gimp-devel-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
gimp-plugin-aa - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
gimp-devel - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
gimp - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimpui-2_0-0-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimp-2_0-0 - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimp-2_0-0-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimpui-2_0-0 - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
gimp-plugin-aa-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
gimp-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
gimp-debugsource - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
gimp-lang - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimp-2_0-0-32bit-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimpui-2_0-0-32bit-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimpui-2_0-0-32bit - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimp-2_0-0-32bit - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimp-2_0-0-64bit-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimpui-2_0-0-64bit - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimpui-2_0-0-64bit-debuginfo - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
libgimp-2_0-0-64bit - addressed in versions 2.10.30-150400.3.29.1, 2.10.30-150400.3.47.1
pygtk2-doc - update to 2.24.0-25
pygtk2-devel - update to 2.24.0-25
pygtk2-codegen - update to 2.24.0-25
pygtk2 - update to 2.24.0-25
pygobject2 - update to 2.28.7-5
pygobject2-codegen - update to 2.28.7-5
pygobject2-devel - update to 2.28.7-5
pygobject2-doc - update to 2.28.7-5
gimp-extension-goat-excercises - update to 3.0.2-5
gimp-vala - update to 3.0.2-5
gimp-plugin-python3 - update to 3.0.2-5
gimp-plugin-aa - update to 3.0.2-5
media-gfx/gimp - update to 2.8.0
gimp (Debian package) - addressed in versions 2.10.34-1+deb12u5, 3.0.4-3+deb13u2

External References

Related Security Bulletins