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

High 7.8 Published Updated

Remote attackers can execute arbitrary code by tricking users into opening malicious ICO files in GIMP due to an integer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-5473?

CVE-2025-5473 is a high-severity vulnerability in Gimp Gimp, published on 6 Jun 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2025-5473?

It affects 1 product.

Linux distribution packages (5)
gimp SUSE:Linux Enterprise Module for Package Hub 15 SP6All versions2.10.30-150400.3.17.1
gimp SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions2.10.30-150400.3.17.1
gimp SUSE:Linux Enterprise Workstation Extension 15 SP6All versions2.10.30-150400.3.17.1
gimp SUSE:Linux Enterprise Workstation Extension 15 SP7All versions2.10.30-150400.3.17.1
gimp openSUSE:Leap 15.6All versions2.10.30-150400.3.17.1

Products include Gimp Gimp.

How do I fix CVE-2025-5473?

Apply the vendor's patch.

Is CVE-2025-5473 being exploited?

There is no known exploitation of CVE-2025-5473 in the wild and no public exploit code.

All Gimp Gimp vulnerabilities

Sources

Also known as CLSA-2025-1758709744, DEBIAN-CVE-2025-5473, GHSA-23w7-3gw5-5jqr, OESA-2025-1621, OESA-2025-1622, SUSE-SU-2025:02100-1 and 2 more.

Is CVE-2025-5473 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free