CVE-2025-5473

Name
CVE-2025-5473
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
vendor-advisory https://www.gimp.org/news/2025/05/18/gimp-3-0-4-released/#general-bugfixes
x_research-advisory https://www.zerodayinitiative.com/advisories/ZDI-25-321/
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/10/msg00022.html

Match rules

CPE URI Source package Min version Max version
gimp == 3.0.2 == 3.0.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gimp edge-community 3.0.2-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 3.0.0-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 2.10.38-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp 3.22-community 2.10.38-r3 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable