CVE-2025-14422 json
GIMP PNM File Parsing Integer Overflow Remote Code Execution Vulnerability
published 2025-12-23 10 mo ago modified 2026-10-19 20 d ago also EUVD-2025-204983
- cvss
- 7.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
GIMP PNM 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 PNM files. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28273.
Patch / fix
- gimp Debian 12 2.10.34-1+deb12u6
- gimp Debian 13 3.0.4-3+deb13u4
- gimp Debian 14 3.2.0~RC2-1
debian advisories DEBIAN-CVE-2025-14422
- gimp Ubuntu Pro 16.04 LTS 2.8.16-1ubuntu1.1+esm2
- gimp Ubuntu Pro 18.04 LTS 2.8.22-1ubuntu0.1~esm2
- gimp Ubuntu Pro 20.04 LTS 2.10.18-1ubuntu0.1+esm2
- gimp Ubuntu Pro 22.04 LTS 2.10.30-1ubuntu0.1+esm2
- gimp Ubuntu Pro 24.04 LTS 2.10.36-3ubuntu0.24.04.1+esm2
ubuntu advisories UBUNTU-CVE-2025-14422
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+23914+4745738d.4
- 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+23914+4745738d.4
- 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+23914+4745738d.4
red hat advisories RHSA-2026:1591RHSA-2026:1590RHSA-2026:1588RHSA-2026:1589RHSA-2026:1586RHSA-2026:1587
- gimp SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7, openSUSE Leap 15.6 2.10.30-150400.3.38.1
suse advisories SUSE-SU-2026:0313-1
- gimp openSUSE Leap 16.0 3.0.8-bp160.1.1
- gimp openSUSE Leap 16.0 3.0.6-bp160.2.1
- gimp openSUSE Tumbleweed 3.0.6-5.1
opensuse advisories openSUSE-RU-2026:20168-1openSUSE-SU-2026:20100-1openSUSE-SU-2026:10066-1
- gimp AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4109+804f132c.4
- 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+4109+804f132c.4
- 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
- gimp-devel-tools AlmaLinux 8 2:2.8.22-26.module_el8.10.0+4109+804f132c.4
- pygobject2-codegen AlmaLinux 8 2.28.7-5.module_el8.10.0+3952+571e801c
almalinux advisories ALSA-2026:1574ALSA-2026:0914
- 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+40033+6fd27379.3
- 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
- gimp Rocky Linux 9 2:3.0.4-1.el9_7.2
rocky linux advisories RLSA-2026:1574RLSA-2026:0914
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-14422 updated cvss 7.8
gimp: GIMP: Remote Code Execution via PNM file parsing integer overflow
-
Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browseraffected: 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+23914+4745738d.4, pygobject2 2.28.7-5.module+el8.10.0+22676+becd68d6, gimp-libs 2.8.22-26.module+el8.10.0+23914+4745738d.4, 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 morefixed: vendor fix RHSA-2026:1574
-
Red Hat Enterprise Linux AppStream (v. 9) gimp 3.0.4-1.el9_7.2, gimp-libs 3.0.4-1.el9_7.2fixed: vendor fix RHSA-2026:0914
-
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+23929+1dcebf0e.6, 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 morefixed: vendor fix RHSA-2026:1591
-
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+23928+91911ed6.4, 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+23928+91911ed6.4, +3 morefixed: vendor fix RHSA-2026:1589
-
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+23927+647c5123.4, 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+23927+647c5123.4, +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+23927+647c5123.4, 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+23927+647c5123.4, +3 morefixed: vendor fix RHSA-2026:1588
-
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+23925+fa21445c.5, 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+23925+fa21445c.5, +3 morefixed: vendor fix RHSA-2026:1584
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) gimp 2.99.8-3.el9_0.3, gimp-libs 2.99.8-3.el9_0.3fixed: vendor fix RHSA-2026:1585
show 7 moreshow fewer
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) gimp 2.99.8-4.el9_2.3, gimp-libs 2.99.8-4.el9_2.3fixed: vendor fix RHSA-2026:1587
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) gimp 2.99.8-4.el9_4.3, gimp-libs 2.99.8-4.el9_4.3fixed: vendor fix RHSA-2026:1586
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) gimp 2.99.8-4.el9_6.4, gimp-libs 2.99.8-4.el9_6.4fixed: vendor fix RHSA-2026:1511
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (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+23928+91911ed6.4, 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+23928+91911ed6.4, +3 morefixed: vendor fix RHSA-2026:1589
-
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+23927+647c5123.4, 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+23927+647c5123.4, +3 morefixed: vendor fix RHSA-2026:1588
-
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+23925+fa21445c.5, 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+23925+fa21445c.5, +3 morefixed: vendor fix RHSA-2026:1584
-
Red Hat Enterprise Linux Server (v. 7 ELS) gimp 2.8.22-1.el7_9.5, gimp-libs 2.8.22-1.el7_9.5 Red Hat Enterprise Linux Server Optional (v. 7 ELS) gimp 2.8.22-1.el7_9.5, gimp-libs 2.8.22-1.el7_9.5, gimp-devel-tools 2.8.22-1.el7_9.5fixed: vendor fix RHSA-2026:1590
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
- 10 mo ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 50% 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 |
Affected products
- GIMP GIMP
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
gitlab.gnome.org
/GNOME/gimp/-/commit/4ff2d773d58064e6130495de498e440f4a6d5edb
vendor-advisory, patch
-
zerodayinitiative.com
/advisories/ZDI-25-1136/
third-party-advisory
Sources
- CVE List CVE-2025-14422
- NVD CVE-2025-14422
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.