Integer overflow in Gimp - CVE-2025-6035
Published: July 14, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow in the GIMP "Despeckle" plug-in. A remote attacker can trick the victim into opening a specially crafted file, trigger an integer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
Ubuntu
openEuler
gimp (Ubuntu package)
gimp-debuginfo
gimp
gimp-debugsource
gimp-devel
gimp-help
gimp-libs
gimp (Debian package)
gimp-vala
gimp-plugin-python3
gimp-plugin-aa
gimp-extension-goat-excercises
How to mitigate CVE-2025-6035
gimp (Ubuntu package) - addressed in versions 2.8.16-1ubuntu1.1+esm3, 2.8.22-1ubuntu0.1~esm3, 2.10.18-1ubuntu0.1+esm3, 2.10.30-1ubuntu0.1+esm3, 2.10.36-3ubuntu0.24.04.1+esm3
gimp-debuginfo - addressed in versions 2.10.6-17, 3.0.2-3
gimp - addressed in versions 2.10.6-17, 3.0.2-3
gimp-debugsource - addressed in versions 2.10.6-17, 3.0.2-3
gimp-devel - addressed in versions 2.10.6-17, 3.0.2-3
gimp-help - update to 2.10.6-17
gimp-libs - addressed in versions 2.10.6-17, 3.0.2-3
gimp (Debian package) - update to 2.10.34-1+deb12u4
gimp-vala - update to 3.0.2-3
gimp-plugin-python3 - update to 3.0.2-3
gimp-plugin-aa - update to 3.0.2-3
gimp-extension-goat-excercises - update to 3.0.2-3