Read the docs
TI-2025-04914 Aliases CVE-2025-5473GHSA-23w7-3gw5-5jqr

Integer overflow in GIMP

Priority MEDIUM 61CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 14 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.25043 97th percentileScored 2026-11-07
Fix Partial Red Hat: 10 advisoriesRed Hat: 14 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GIMPGIMP3.0.2—No fix listedCNA
  • GIMP VendorGIMP Affected 3.0.2 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*before 3.0.4VulnerableGIMP
  • cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:* Versions before 3.0.4 Vulnerable ·GIMP

Remediation

Red Hat 10 advisories

  • RHSA-2025:9569 Released 2025-06-24 · Red Hat rating Important
    gimp:2.8 security update
    • Red Hat Enterprise Linux AppStream E4S (v.8.8) gimp-2:2.8.22-26.module+el8.8.0+23318+cec921ba.1.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+23318+cec921ba.1.src::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+23318+cec921ba.1.x86_64::gimp:2.8 +28
    • Red Hat Enterprise Linux AppStream TUS (v.8.8) gimp-2:2.8.22-26.module+el8.8.0+23318+cec921ba.1.src::gimp:2.8, gimp-2:2.8.22-26.module+el8.8.0+23318+cec921ba.1.x86_64::gimp:2.8, gimp-devel-2:2.8.22-26.module+el8.8.0+23318+cec921ba.1.x86_64::gimp:2.8 +15
  • RHSA-2025:9501 Released 2025-06-24 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux Server (v. 7 ELS) gimp-2:2.8.22-1.el7_9.2, gimp-libs-2:2.8.22-1.el7_9.2
    • Red Hat Enterprise Linux Server Optional (v. 7 ELS) gimp-2:2.8.22-1.el7_9.2, gimp-devel-2:2.8.22-1.el7_9.2, gimp-devel-tools-2:2.8.22-1.el7_9.2 +1
  • RHSA-2025:9309 Released 2025-06-23 · Red Hat rating Important
    gimp:2.8 security update
    • Red Hat Enterprise Linux AppStream AUS (v.8.6) gimp-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.src::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.x86_64::gimp:2.8, gimp-devel-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.x86_64::gimp:2.8 +15
    • Red Hat Enterprise Linux AppStream E4S (v.8.6) gimp-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.aarch64::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.ppc64le::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.s390x::gimp:2.8 +47
    • Red Hat Enterprise Linux AppStream TUS (v.8.6) gimp-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.src::gimp:2.8, gimp-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.x86_64::gimp:2.8, gimp-devel-2:2.8.22-18.module+el8.6.0+23301+adfde0c1.2.x86_64::gimp:2.8 +15
Show 7 more Red Hat advisories
  • RHSA-2025:9316 Released 2025-06-23 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp-2:2.99.8-4.el9_4.1, gimp-libs-2:2.99.8-4.el9_4.1
  • RHSA-2025:9314 Released 2025-06-23 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp-2:2.99.8-4.el9_2.1, gimp-libs-2:2.99.8-4.el9_2.1
  • RHSA-2025:9308 Released 2025-06-23 · Red Hat rating Important
    gimp:2.8 security update
    • Red Hat Enterprise Linux AppStream AUS (v.8.4) gimp-2:2.8.22-16.module+el8.4.0+23302+04229f42.2.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.4.0+23302+04229f42.2.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.4.0+23302+04229f42.2.x86_64::gimp:2.8 +15
  • RHSA-2025:9310 Released 2025-06-23 · Red Hat rating Important
    gimp:2.8 security update
    • Red Hat Enterprise Linux AppStream AUS (v. 8.2) gimp-2:2.8.22-16.module+el8.2.0+23304+5410b5dc.3.src::gimp:2.8, gimp-2:2.8.22-16.module+el8.2.0+23304+5410b5dc.3.x86_64::gimp:2.8, gimp-devel-2:2.8.22-16.module+el8.2.0+23304+5410b5dc.3.x86_64::gimp:2.8 +15
  • RHSA-2025:9315 Released 2025-06-23 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp-2:2.99.8-3.el9_0.1, gimp-libs-2:2.99.8-3.el9_0.1
  • RHSA-2025:9165 Released 2025-06-17 · Red Hat rating Important
    gimp:2.8 security update
    • Red Hat Enterprise Linux AppStream (v. 8) gimp-2:2.8.22-26.module+el8.10.0+23269+4b36efb0.2.aarch64::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+23269+4b36efb0.2.ppc64le::gimp:2.8, gimp-2:2.8.22-26.module+el8.10.0+23269+4b36efb0.2.s390x::gimp:2.8 +47
  • RHSA-2025:9162 Released 2025-06-17 · Red Hat rating Important
    gimp security update
    • Red Hat Enterprise Linux AppStream (v. 9) gimp-2:2.99.8-4.el9_6.2, gimp-libs-2:2.99.8-4.el9_6.2

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2025:9165
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:9162
Red Hat Enterprise Linux AppStream AUS (v. 8.2)Fixed RHSA-2025:9310
Red Hat Enterprise Linux AppStream AUS (v.8.4)Fixed RHSA-2025:9308
Red Hat Enterprise Linux AppStream AUS (v.8.6)Fixed RHSA-2025:9309
Red Hat Enterprise Linux AppStream E4S (v.8.6)Fixed RHSA-2025:9309
Red Hat Enterprise Linux AppStream E4S (v.8.8)Fixed RHSA-2025:9569
Red Hat Enterprise Linux AppStream E4S (v.9.0)Fixed RHSA-2025:9315
Red Hat Enterprise Linux AppStream E4S (v.9.2)Fixed RHSA-2025:9314
Red Hat Enterprise Linux AppStream EUS (v.9.4)Fixed RHSA-2025:9316
Red Hat Enterprise Linux AppStream TUS (v.8.6)Fixed RHSA-2025:9309
Red Hat Enterprise Linux AppStream TUS (v.8.8)Fixed RHSA-2025:9569
Red Hat Enterprise Linux Server (v. 7 ELS)Fixed RHSA-2025:9501
Red Hat Enterprise Linux Server Optional (v. 7 ELS)Fixed RHSA-2025:9501

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-5473
  2. 2026-10-03 Alias added: GHSA-23w7-3gw5-5jqr

References

  • TI-2023-23949 Integer overflow in GIMP CVSS 3.0HIGH 7.8
  • TI-2026-42270 Gimp: gimp: arbitrary code execution in psd plugin due to unsigned underflow CVSS 3.1CRITICAL 9.9
  • TI-2012-02388 Buffer overflow in the readstr_upto function in plug-ins/script-fu/tinyscheme/scheme.c in… CVSS 2.0HIGH 7.5
  • TI-2023-23948 Heap-based buffer overflow in GIMP CVSS 3.0HIGH 7.8
  • TI-2023-23950 GIMP PSP File Parsing Off-By-One Remote Code Execution Vulnerability CVSS 3.0HIGH 7.8
  • TI-2026-54560 Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit CVSS 3.1HIGH 7.0
See all 110 →

Sources