Skip to content
Fencer Vulns
high 7.8

CVE-2025-5473 in the critical feed json

GIMP ICO File Parsing Integer Overflow Remote Code Execution Vulnerability

published 2025-06-06 17 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-17358

cvss
7.8
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
25.0%
EPSS 25.0% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known

Summary

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.

Patch / fix

  • gimp gimp 3.0.4
  • gimp Debian 12 2.10.34-1+deb12u3
  • gimp Debian 14, Debian 13 3.0.2-3.1

debian advisories DEBIAN-CVE-2025-5473

  • gimp Ubuntu Pro 16.04 LTS 2.8.16-1ubuntu1.1+esm3
  • gimp Ubuntu Pro 18.04 LTS 2.8.22-1ubuntu0.1~esm3
  • gimp Ubuntu Pro 20.04 LTS 2.10.18-1ubuntu0.1+esm3
  • gimp Ubuntu Pro 22.04 LTS 2.10.30-1ubuntu0.1+esm3
  • gimp Ubuntu Pro 24.04 LTS 2.10.36-3ubuntu0.24.04.1+esm3

ubuntu advisories UBUNTU-CVE-2025-5473

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • gimp RHEL 8 2:2.8.22-26.module+el8.10.0+23269+4b36efb0.2
  • pygtk2 RHEL 8 2.24.0-25.module+el8.9.0+21228+8e80d31d
  • gimp-libs RHEL 8 2:2.8.22-26.module+el8.10.0+23269+4b36efb0.2
  • pygobject2 RHEL 8 2.28.7-5.module+el8.10.0+22676+becd68d6
  • python2-cairo RHEL 8 1.16.3-7.module+el8.10.0+22676+becd68d6
  • pygtk2-codegen RHEL 8 2.24.0-25.module+el8.9.0+21228+8e80d31d
  • python2-pycairo RHEL 8 1.16.3-7.module+el8.10.0+22676+becd68d6
  • gimp-devel-tools RHEL 8 2:2.8.22-26.module+el8.10.0+23269+4b36efb0.2

red hat advisories RHSA-2025:9569RHSA-2025:9501RHSA-2025:9316RHSA-2025:9315RHSA-2025:9314RHSA-2025:9310

  • gimp SLE Workstation Extension 15 SP7, SLE Workstation Extension 15 SP6, SLE Module for Package Hub 15 SP7 +2 more 2.10.30-150400.3.17.1

suse advisories SUSE-SU-2025:02100-1

  • gimp AlmaLinux 9 2:2.99.8-4.el9_6.2
  • gimp-libs AlmaLinux 9 2:2.99.8-4.el9_6.2
  • gimp AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4017+5eb23531.2
  • pygtk2 AlmaLinux 8 2.24.0-25.module_el8.9.0+3725+d1441900
  • gimp-libs AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4017+5eb23531.2
  • pygobject2 AlmaLinux 8 2.28.7-5.module_el8.10.0+3952+571e801c
  • python2-cairo AlmaLinux 8 1.16.3-7.module_el8.10.0+3952+571e801c
  • pygtk2-codegen AlmaLinux 8 2.24.0-25.module_el8.9.0+3725+d1441900

almalinux advisories ALSA-2025:9162ALSA-2025:9165

  • gimp Rocky Linux 9 2:2.99.8-4.el9_6.2
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+1927+52edb5a0
  • gimp Rocky Linux 8 2:2.8.22-26.module+el8.10.0+1998+a08ccc48.2
  • pygtk2 Rocky Linux 8 2.24.0-25.module+el8.9.0+1723+9bc93544
  • pygobject2 Rocky Linux 8 2.28.7-5.module+el8.10.0+1927+52edb5a0
  • python2-pycairo Rocky Linux 8 1.16.3-7.module+el8.10.0+1927+52edb5a0

rocky linux advisories RLSA-2025:9162RLSA-2025:9165

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-5473 updated cvss 7.8

gimp: GIMP ICO File Parsing Integer Overflow

  • Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browser
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) pygtk2 2.24.0-25.module+el8.9.0+21228+8e80d31d, gimp 2.8.22-26.module+el8.10.0+23269+4b36efb0.2, pygobject2 2.28.7-5.module+el8.10.0+22676+becd68d6, gimp-libs 2.8.22-26.module+el8.10.0+23269+4b36efb0.2, python2-cairo 1.16.3-7.module+el8.10.0+22676+becd68d6, pygtk2-codegen 2.24.0-25.module+el8.9.0+21228+8e80d31d, +3 more
    fixed: vendor fix RHSA-2025:9165
  • Red Hat Enterprise Linux AppStream (v. 9) gimp 2.99.8-4.el9_6.2, gimp-libs 2.99.8-4.el9_6.2
    fixed: vendor fix RHSA-2025:9162
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) pygtk2 2.24.0-24.module+el8+2760+3d7d61b2, pygobject2 2.28.7-4.module+el8+2760+3d7d61b2, gimp 2.8.22-16.module+el8.2.0+23304+5410b5dc.3, python2-cairo 1.16.3-6.module+el8+2760+3d7d61b2, pygtk2-codegen 2.24.0-24.module+el8+2760+3d7d61b2, python2-pycairo 1.16.3-6.module+el8+2760+3d7d61b2, +3 more
    fixed: vendor fix RHSA-2025:9310
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) pygobject2 2.28.7-4.module+el8+2760+3d7d61b2, pygtk2 2.24.0-25.module+el8.4.0+9382+ff08b506, gimp 2.8.22-16.module+el8.4.0+23302+04229f42.2, python2-cairo 1.16.3-6.module+el8+2760+3d7d61b2, python2-pycairo 1.16.3-6.module+el8+2760+3d7d61b2, gimp-libs 2.8.22-16.module+el8.4.0+23302+04229f42.2, +3 more
    fixed: vendor fix RHSA-2025:9308
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) pygobject2 2.28.7-4.module+el8+2760+3d7d61b2, pygtk2 2.24.0-25.module+el8.4.0+9382+ff08b506, gimp 2.8.22-18.module+el8.6.0+23301+adfde0c1.2, python2-cairo 1.16.3-6.module+el8+2760+3d7d61b2, python2-pycairo 1.16.3-6.module+el8+2760+3d7d61b2, gimp-libs 2.8.22-18.module+el8.6.0+23301+adfde0c1.2, +3 more Red Hat Enterprise Linux AppStream E4S (v.8.6) pygobject2 2.28.7-4.module+el8+2760+3d7d61b2, pygtk2 2.24.0-25.module+el8.4.0+9382+ff08b506, gimp 2.8.22-18.module+el8.6.0+23301+adfde0c1.2, python2-cairo 1.16.3-6.module+el8+2760+3d7d61b2, python2-pycairo 1.16.3-6.module+el8+2760+3d7d61b2, gimp-libs 2.8.22-18.module+el8.6.0+23301+adfde0c1.2, +3 more
    fixed: vendor fix RHSA-2025:9309
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) pygobject2 2.28.7-4.module+el8+2760+3d7d61b2, pygtk2 2.24.0-25.module+el8.4.0+9382+ff08b506, gimp 2.8.22-26.module+el8.8.0+23318+cec921ba.1, python2-cairo 1.16.3-6.module+el8+2760+3d7d61b2, python2-pycairo 1.16.3-6.module+el8+2760+3d7d61b2, gimp-libs 2.8.22-26.module+el8.8.0+23318+cec921ba.1, +3 more
    fixed: vendor fix RHSA-2025:9569
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp 2.99.8-3.el9_0.1, gimp-libs 2.99.8-3.el9_0.1
    fixed: vendor fix RHSA-2025:9315
show 5 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp 2.99.8-4.el9_2.1, gimp-libs 2.99.8-4.el9_2.1
    fixed: vendor fix RHSA-2025:9314
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp 2.99.8-4.el9_4.1, gimp-libs 2.99.8-4.el9_4.1
    fixed: vendor fix RHSA-2025:9316
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) pygobject2 2.28.7-4.module+el8+2760+3d7d61b2, pygtk2 2.24.0-25.module+el8.4.0+9382+ff08b506, gimp 2.8.22-18.module+el8.6.0+23301+adfde0c1.2, python2-cairo 1.16.3-6.module+el8+2760+3d7d61b2, python2-pycairo 1.16.3-6.module+el8+2760+3d7d61b2, gimp-libs 2.8.22-18.module+el8.6.0+23301+adfde0c1.2, +3 more
    fixed: vendor fix RHSA-2025:9309
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) pygobject2 2.28.7-4.module+el8+2760+3d7d61b2, pygtk2 2.24.0-25.module+el8.4.0+9382+ff08b506, gimp 2.8.22-26.module+el8.8.0+23318+cec921ba.1, python2-cairo 1.16.3-6.module+el8+2760+3d7d61b2, python2-pycairo 1.16.3-6.module+el8+2760+3d7d61b2, gimp-libs 2.8.22-26.module+el8.8.0+23318+cec921ba.1, +3 more
    fixed: vendor fix RHSA-2025:9569
  • Red Hat Enterprise Linux Server (v. 7 ELS) gimp 2.8.22-1.el7_9.2, gimp-libs 2.8.22-1.el7_9.2 Red Hat Enterprise Linux Server Optional (v. 7 ELS) gimp 2.8.22-1.el7_9.2, gimp-libs 2.8.22-1.el7_9.2, gimp-devel-tools 2.8.22-1.el7_9.2
    fixed: vendor fix RHSA-2025:9501

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
17 mo ago

Exploit prediction

25.04% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • GIMP GIMP

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.