Stack-based buffer overflow in Gimp - CVE-2025-10925
Published: September 25, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when parsing ILBM files within the load_image() function in plug-ins/common/file-iff.c. A remote attacker can trick the victim into opening a specially crafted file, trigger a stack-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
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
Anolis OS
openEuler
python2-cairo-devel
python2-cairo
gimp
gimp-devel
gimp-devel-tools
gimp-libs
pygtk2-doc
pygtk2-devel
pygtk2-codegen
pygtk2
pygobject2
pygobject2-codegen
pygobject2-devel
pygobject2-doc
gimp-vala
gimp-plugin-python3
gimp-plugin-aa
gimp-extension-goat-excercises
gimp-debugsource
gimp-debuginfo
gimp (Red Hat package)
How to mitigate CVE-2025-10925
python2-cairo - update to 1.16.3-7
gimp - update to 2.8.22-26
gimp-devel - update to 2.8.22-26
gimp-devel-tools - update to 2.8.22-26
gimp-libs - update to 2.8.22-26
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-devel - update to 3.0.2-4
gimp-vala - update to 3.0.2-4
gimp-plugin-python3 - update to 3.0.2-4
gimp-plugin-aa - update to 3.0.2-4
gimp-libs - update to 3.0.2-4
gimp-extension-goat-excercises - update to 3.0.2-4
gimp - update to 3.0.2-4
gimp-debugsource - update to 3.0.2-4
gimp-debuginfo - update to 3.0.2-4
gimp (Red Hat package) - update to 3.0.4-1.el9_7.1