CVE-2025-5473

NameCVE-2025-5473
DescriptionGIMP 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4342-1, DSA-5939-1
Debian Bugs1105005

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gimp (PTS)bullseye2.10.22-4+deb11u2vulnerable
bullseye (security)2.10.22-4+deb11u3fixed
bookworm2.10.34-1+deb12u3fixed
bookworm (security)2.10.34-1+deb12u4fixed
trixie3.0.4-3fixed
trixie (security)3.0.4-3+deb13u1fixed
forky3.0.4-6.1fixed
sid3.0.4-6.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsourcebullseye2.10.22-4+deb11u3DLA-4342-1
gimpsourcebookworm2.10.34-1+deb12u3DSA-5939-1
gimpsource(unstable)3.0.2-3.11105005

Notes

https://gitlab.gnome.org/GNOME/gimp/-/issues/13910
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/c855d1df60ebaf5ef8d02807d448eb088f147a2b

Search for package or bug name: Reporting problems