Skip to content

CVE-2025-5473 GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability

HighCVSS 8.8 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of ICO files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-26752.

Upgrade path

6 packages: 6 fixed.

PackageAffectedFixed inStatus
debian/gimp(Debian 12) < 2.10.34-1+deb12u3; = 2.10.34-1; = 2.10.34-1+deb12u1; = 2.10.34-1+deb12u2 2.10.34-1+deb12u3 Fixed
debian/gimp(Debian 13) < 3.0.2-3.1 3.0.2-3.1 Fixed
debian/gimp(Debian 14) < 3.0.2-3.1 3.0.2-3.1 Fixed
gimp < 3.0.4; = 3.0.2 3.0.4 Fixed
ubuntu/gimp(Ubuntu 22.04) < 2.10.30-1ubuntu0.1+esm3 2.10.30-1ubuntu0.1+esm3 Fixed
ubuntu/gimp(Ubuntu 24.04) < 2.10.36-3ubuntu0.24.04.1+esm3 2.10.36-3ubuntu0.24.04.1+esm3 Fixed

Affected products

ProductAffected versionsFixed in
debian/gimp(Debian:12) < 2.10.34-1+deb12u3 2.10.34-1+deb12u3
debian/gimp(Debian:12) = 2.10.34-1 No fix listed
debian/gimp(Debian:12) = 2.10.34-1+deb12u1 No fix listed
debian/gimp(Debian:12) = 2.10.34-1+deb12u2 No fix listed
debian/gimp(Debian:13) < 3.0.2-3.1 3.0.2-3.1
debian/gimp(Debian:14) < 3.0.2-3.1 3.0.2-3.1
gimp = 3.0.2 No fix listed
ubuntu/gimp(Ubuntu:22.04) < 2.10.30-1ubuntu0.1+esm3 2.10.30-1ubuntu0.1+esm3
ubuntu/gimp(Ubuntu:24.04) < 2.10.36-3ubuntu0.24.04.1+esm3 2.10.36-3ubuntu0.24.04.1+esm3
gimp < 3.0.4 3.0.4

References