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

7.8 CVSS

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.

Classification

CVE ID: CVE-2025-5473

CVSS Base Severity: HIGH

CVSS Base Score: 7.8

CVSS Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem Types

CWE-190: Integer Overflow or Wraparound

Affected Products

Vendor: GIMP

Product: GIMP

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.06% (probability of being exploited)

EPSS Percentile: 19.94% (scored less or equal to compared to others)

EPSS Date: 2025-06-07 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-5473
https://www.zerodayinitiative.com/advisories/ZDI-25-321/
https://www.gimp.org/news/2025/05/18/gimp-3-0-4-released/#general-bugfixes

Timeline