CVE-2025-2761 GIMP FLI File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
Remote attackers can execute arbitrary code by tricking users into opening malicious FLI files in GIMP due to an out-of-bounds write flaw.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-2761?
CVE-2025-2761 is a high-severity memory corruption vulnerability in Gimp Gimp, published on 23 Apr 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2025-2761?
It affects 1 product.
Linux distribution packages (6)
gimp SUSE:Linux Enterprise Module for Package Hub 15 SP6 | All versions | 2.10.30-150400.3.14.1 |
gimp SUSE:Linux Enterprise Module for Package Hub 15 SP7 | All versions | 2.10.30-150400.3.14.1 |
gimp SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 2.8.18-9.30.1 |
gimp SUSE:Linux Enterprise Workstation Extension 15 SP6 | All versions | 2.10.30-150400.3.14.1 |
gimp SUSE:Linux Enterprise Workstation Extension 15 SP7 | All versions | 2.10.30-150400.3.14.1 |
gimp openSUSE:Leap 15.6 | All versions | 2.10.30-150400.3.14.1 |
Products include Gimp Gimp.
How do I fix CVE-2025-2761?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-2761 being exploited?
There is no known exploitation of CVE-2025-2761 in the wild and no public exploit code.
Other vulnerabilities in Gimp Gimp
Sources
Also known as CLSA-2026-1775144394, CLSA-2026-1775145256, DEBIAN-CVE-2025-2761, GHSA-x72f-pwfg-wpx2, OESA-2025-1483, SUSE-SU-2025:01571-1 and 3 more.