Vulnerability · Published Dec 23, 2025 · Assigned by zdi
CVE-2025-14425GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
High 7.8
In plain English
A high-severity heap buffer overflow in GIMP from GIMP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | gimp | 2:3.0.4-1.el9_7.2 | ALSA-2026:0914 |
| AlmaLinux:9 | gimp-libs | 2:3.0.4-1.el9_7.2 | ALSA-2026:0914 |
| Debian:12 | gimp | 2.10.34-1+deb12u6 | DSA-6093-1 |
| Debian:12 | gimp | 2.10.34-1+deb12u6 | DEBIAN-CVE-2025-14425 |
| Debian:13 | gimp | 3.0.4-3+deb13u4 | DSA-6093-1 |
| Debian:13 | gimp | 3.0.4-3+deb13u4 | DEBIAN-CVE-2025-14425 |
| Debian:14 | gimp | 3.2.0~RC2-1 | DEBIAN-CVE-2025-14425 |
| Rocky Linux:9 | gimp | 2:3.0.4-1.el9_7.2 | RLSA-2026:0914 |
| Ubuntu:25.10 | gimp | no fix listed | UBUNTU-CVE-2025-14425 |
| Ubuntu:26.04:LTS | gimp | no fix listed | UBUNTU-CVE-2025-14425 |
Affected products (as reported)
Weakness: CWE-122 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- ZDI-25-1139 x_research-advisory
- vendor-provided URL vendor-advisory