Integer overflow in Gimp - CVE-2025-5473

 

Integer overflow in Gimp - CVE-2025-5473

Published: June 5, 2025


Vulnerability identifier: #VU110225
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-5473
CWE-ID: CWE-190
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 integer overflow within the parsing of ICO files. A remote attacker can trick a victim to open a specially crafted file, trigger 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

Gimp
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 x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Ubuntu
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
python2-cairo-devel
python2-cairo
gimp (Ubuntu package)
gimp-libs
gimp-devel-tools
gimp-devel
gimp
gimp-help
gimp-debugsource
gimp-debuginfo
pygtk2-doc
pygtk2
pygtk2-devel
pygtk2-codegen
pygobject2-codegen
pygobject2
pygobject2-devel
pygobject2-doc
gimp (Red Hat package)
gimp-extension-goat-excercises
gimp-plugin-aa
gimp-plugin-python3
gimp-vala

How to mitigate CVE-2025-5473

Install updates from vendor's website.

Gimp - update to 3.0.4
python2-cairo-devel - update to 1.16.3-7
python2-cairo - update to 1.16.3-7
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-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-libs - addressed in versions 2.10.6-13, 3.0.2-2
gimp-help - update to 2.10.6-13
gimp-devel - addressed in versions 2.10.6-13, 3.0.2-2
gimp-debugsource - addressed in versions 2.10.6-13, 3.0.2-2
gimp-debuginfo - addressed in versions 2.10.6-13, 3.0.2-2
gimp - addressed in versions 2.10.6-13, 3.0.2-2
pygtk2-doc - update to 2.24.0-25
pygtk2 - update to 2.24.0-25
pygtk2-devel - update to 2.24.0-25
pygtk2-codegen - update to 2.24.0-25
pygobject2-codegen - update to 2.28.7-5
pygobject2 - update to 2.28.7-5
pygobject2-devel - update to 2.28.7-5
pygobject2-doc - update to 2.28.7-5
gimp (Red Hat package) - addressed in versions 2.99.8-4.el9_2.1, 2.99.8-4.el9_4.1, 2.99.8-4.el9_6.2
gimp-extension-goat-excercises - update to 3.0.2-2
gimp-plugin-aa - update to 3.0.2-2
gimp-plugin-python3 - update to 3.0.2-2
gimp-vala - update to 3.0.2-2

External References

Related Security Bulletins