CVE-2025-14425 json
GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
published 2025-12-23 10 mo ago modified 2026-10-19 20 d ago also EUVD-2025-204980
- cvss
- 7.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
GIMP JP2 File Parsing Heap-based Buffer 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 JP2 files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28248.
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-14425
- gimp Ubuntu Pro 16.04 LTS 2.8.16-1ubuntu1.1+esm1
- gimp Ubuntu Pro 18.04 LTS 2.8.22-1ubuntu0.1~esm1
- gimp Ubuntu Pro 20.04 LTS 2.10.18-1ubuntu0.1+esm1
- gimp Ubuntu Pro 22.04 LTS 2.10.30-1ubuntu0.1+esm1
- gimp Ubuntu Pro 24.04 LTS 2.10.36-3ubuntu0.24.04.1+esm1
ubuntu advisories UBUNTU-CVE-2025-14425
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 9 2:3.0.4-1.el9_7.2
- gimp-libs RHEL 9 2:3.0.4-1.el9_7.2
- gimp RHEL 9.4 EUS 2:2.99.8-4.el9_4.3
- gimp-libs RHEL 9.4 EUS 2:2.99.8-4.el9_4.3
- gimp RHEL 9.2 E4S 2:2.99.8-4.el9_2.3
- gimp-libs RHEL 9.2 E4S 2:2.99.8-4.el9_2.3
- gimp RHEL 9.0 E4S 2:2.99.8-3.el9_0.3
- gimp-libs RHEL 9.0 E4S 2:2.99.8-3.el9_0.3
red hat advisories RHSA-2026:1586RHSA-2026:1587RHSA-2026:1585RHSA-2026:1511RHSA-2026:0914
- 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 9 2:3.0.4-1.el9_7.2
- gimp-libs AlmaLinux 9 2:3.0.4-1.el9_7.2
almalinux advisories ALSA-2026:0914
- gimp Rocky Linux 9 2:3.0.4-1.el9_7.2
rocky linux advisories RLSA-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-14425 updated cvss 7.8
gimp: GIMP: Remote Code Execution via JP2 file parsing heap-based buffer overflow
-
Red Hat Enterprise Linux 6 gimp, gimp-libs, gimp-devel-tools, gimp-help-browseraffected: workaround, no fix planned “To mitigate this issue, users should exercise caution and avoid opening untrusted JP2 image files with GIMP. Restricting the source of JP2 files to trusted origins can reduce the risk of exploitation.”
-
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 “To mitigate this issue, users should exercise caution and avoid opening untrusted JP2 image files with GIMP. Restricting the source of JP2 files to trusted origins can reduce the risk of exploitation.” RHSA-2026:0914
-
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 “To mitigate this issue, users should exercise caution and avoid opening untrusted JP2 image files with GIMP. Restricting the source of JP2 files to trusted origins can reduce the risk of exploitation.” RHSA-2026:1585
-
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 “To mitigate this issue, users should exercise caution and avoid opening untrusted JP2 image files with GIMP. Restricting the source of JP2 files to trusted origins can reduce the risk of exploitation.” 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 “To mitigate this issue, users should exercise caution and avoid opening untrusted JP2 image files with GIMP. Restricting the source of JP2 files to trusted origins can reduce the risk of exploitation.” 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 “To mitigate this issue, users should exercise caution and avoid opening untrusted JP2 image files with GIMP. Restricting the source of JP2 files to trusted origins can reduce the risk of exploitation.” RHSA-2026:1511
-
Red Hat Enterprise Linux 7 gimp, gimp-libs, gimp-devel-tools Red Hat Enterprise Linux 8 gimp, pygtk2, gimp-libs, pygobject2, python2-cairo, pygtk2-codegen, +3 morenot affected: vulnerable code not present
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.66% chance of exploitation in the next 30 days, higher than 51% 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-122 Heap-based Buffer Overflow
References
-
gitlab.gnome.org
/GNOME/gimp/-/commit/cd1c88a0364ad1444c06536731972a99bd8643fd
vendor-advisory, patch
-
zerodayinitiative.com
/advisories/ZDI-25-1139/
third-party-advisory
Sources
- CVE List CVE-2025-14425
- NVD CVE-2025-14425
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.