Skip to content
OpenAdvisories
High · 7.8 CVE-2025-14425 EUVD-2025-204980GHSA-849v-267v-772m

GIMP JP2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Dec 23, 2025 · Updated Jan 2, 2026 · Assigned by zdi

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 products

VendorProductAffectedFixed
GIMP GIMP 3.0.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.2.0~RC2-1 —
Debian 13 gimp 3.0.4-3+deb13u4 DSA-6093-1
Debian 12 gimp 2.10.34-1+deb12u6 DSA-6093-1
Debian 11 gimp 2.10.22-4+deb11u5 DLA-4431-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gimp No fix yet —
Ubuntu 25.10 gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp 2.10.36-3ubuntu0.24.04.1+esm1 —
Ubuntu Pro 22.04 LTS gimp 2.10.30-1ubuntu0.1+esm1 —
Ubuntu Pro 20.04 LTS gimp 2.10.18-1ubuntu0.1+esm1 —
Ubuntu Pro 18.04 LTS gimp 2.8.22-1ubuntu0.1~esm1 —
Ubuntu Pro 16.04 LTS gimp 2.8.16-1ubuntu1.1+esm1 —
ReleasePackageFixed inAdvisory
RHEL 9 gimp +1 2:3.0.4-1.el9_7.2 RHSA-2026:0914
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.6 EUS gimp +1 2:2.99.8-4.el9_6.4 RHSA-2026:1511
RHEL 9.4 EUS gimp +1 2:2.99.8-4.el9_4.3 RHSA-2026:1586
RHEL 9.2 E4S gimp +1 2:2.99.8-4.el9_2.3 RHSA-2026:1587
RHEL 9.0 E4S gimp +1 2:2.99.8-3.el9_0.3 RHSA-2026:1585

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gimp +1 2:3.0.4-1.el9_7.2 ALSA-2026:0914

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 gimp 2:3.0.4-1.el9_7.2 RLSA-2026:0914
ReleasePackageFixed inAdvisory
SLES 15 SP7 gimp 2.10.30-150400.3.38.1 SUSE-SU-2026:0313-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gimp 3.0.6-5.1 openSUSE-SU-2026:10066-1
openSUSE Leap 16.0 gimp 3.0.6-bp160.2.1 openSUSE-SU-2026:20100-1, openSUSE-RU-2026:20168-1
openSUSE Leap 15.6 gimp 2.10.30-150400.3.38.1 SUSE-SU-2026:0313-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gimp +1 2:3.0.4-1.el9_7.2 ELSA-2026-0914

Advisories 15

References