Skip to content
OpenAdvisories
High · 7.8 CVE-2025-2761 EUVD-2025-12174GHSA-x72f-pwfg-wpx2

GIMP FLI File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published Apr 23, 2025 · Updated Nov 3, 2025 · Assigned by zdi

Description

GIMP FLI File Parsing Out-Of-Bounds Write 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 FLI files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-25100.

Affected products

VendorProductAffectedFixed
GIMP GIMP 2.10.38 —

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.0.0-1 —
Debian 13 gimp 3.0.0-1 —
Debian 12 gimp 2.10.34-1+deb12u3 DSA-5939-1
Debian 11 gimp 2.10.22-4+deb11u3 DLA-4342-1
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 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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
SLES 15 SP7 gimp 2.10.30-150400.3.14.1 SUSE-SU-2025:01571-1
SLES 15 SP6 gimp 2.10.30-150400.3.14.1 SUSE-SU-2025:1571-1
SLES 12 SP5 gimp 2.8.18-9.30.1 SUSE-SU-2025:1546-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 gimp 2.10.30-150400.3.14.1 SUSE-SU-2025:1571-1

Advisories 6

References