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

Published Jun 3, 2025
·
Updated

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.

Affected Software

8 affected componentsFixes available
GIMP GIMP<3.0.4
GIMP GIMP
debian/gimp
2.10.22-4+deb11u32.10.34-1+deb12u33.0.2-3.1
ubuntu/gimp<2.8.16-1ubuntu1.1+esm3
2.8.16-1ubuntu1.1+esm3
ubuntu/gimp<2.8.22-1ubuntu0.1~esm3
2.8.22-1ubuntu0.1~esm3
ubuntu/gimp<2.10.18-1ubuntu0.1+esm3
2.10.18-1ubuntu0.1+esm3
ubuntu/gimp<2.10.30-1ubuntu0.1+esm3
2.10.30-1ubuntu0.1+esm3
ubuntu/gimp<2.10.36-3ubuntu0.24.04.1+esm3
2.10.36-3ubuntu0.24.04.1+esm3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.22-4+deb11u3Fixed in 2.10.34-1+deb12u3Fixed in 3.0.2-3.1
  2. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.8.16-1ubuntu1.1+esm3
  3. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.8.22-1ubuntu0.1~esm3
  4. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.18-1ubuntu0.1+esm3
  5. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.30-1ubuntu0.1+esm3
  6. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.36-3ubuntu0.24.04.1+esm3

Event History

Jun 3, 2025
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Updated
via ZDI·12:00 AM
Affected Software
Jun 6, 2025
CVE Published
via MITRE·06:44 PM
Data Sourced
via MITRE·06:44 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Jun 15, 2025
Event
via FIRST·12:00 AM
Aug 18, 2025
Data Sourced
via NVD·04:00 PM
Affected Software
Updated
via NVD·04:00 PM
Severity
Event
via NVD·04:00 PM
Nov 24, 2026
Data Sourced
via OSV·02:55 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-5473?

CVE-2025-5473 is considered a high-severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2025-5473?

To fix CVE-2025-5473, update GIMP to the latest version, which includes the necessary patches.

3

What type of vulnerability is CVE-2025-5473?

CVE-2025-5473 is an integer overflow vulnerability that can lead to remote code execution.

4

Is user interaction required to exploit CVE-2025-5473?

Yes, user interaction is required as the target must visit a malicious page for the exploitation to occur.

5

Which software is affected by CVE-2025-5473?

CVE-2025-5473 affects installations of the GIMP application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203