Out-of-bounds write in Gimp - CVE-2025-10920

 

Out-of-bounds write in Gimp - CVE-2025-10920

Published: September 25, 2025


Vulnerability identifier: #VU116096
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-10920
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 parsing ICNS files within the icns_decompress() function in plug-ins/file-icns/file-icns-load.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

Gimp
Debian Linux
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-debugsource
gimp-vala
gimp-plugin-python3
gimp-plugin-aa
gimp-extension-goat-excercises
gimp-debuginfo
gimp (Red Hat package)
gimp (Debian package)

How to mitigate CVE-2025-10920

Install updates from vendor's repository.

python2-cairo-devel - update to 1.16.3-7
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-debugsource - 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-devel - update to 3.0.2-4
gimp-debuginfo - update to 3.0.2-4
gimp - update to 3.0.2-4
gimp (Red Hat package) - update to 3.0.4-1.el9_7.1
gimp (Debian package) - update to 3.0.4-3+deb13u1

External References

Related Security Bulletins