CVE-2025-2761: GIMP FLI File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published Apr 7, 2025
·
Updated

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 Software

8 affected componentsFixes available
GIMP GIMP=2.10.38
GIMP GIMP
debian/gimp
2.10.22-4+deb11u32.10.34-1+deb12u33.0.0-1
ubuntu/gimp<2.8.16-1ubuntu1.1+esm1
2.8.16-1ubuntu1.1+esm1
ubuntu/gimp<2.8.22-1ubuntu0.1~esm1
2.8.22-1ubuntu0.1~esm1
ubuntu/gimp<2.10.18-1ubuntu0.1+esm1
2.10.18-1ubuntu0.1+esm1
ubuntu/gimp<2.10.30-1ubuntu0.1+esm1
2.10.30-1ubuntu0.1+esm1
ubuntu/gimp<2.10.36-3ubuntu0.24.04.1+esm1
2.10.36-3ubuntu0.24.04.1+esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.22-4+deb11u3Fixed in 2.10.34-1+deb12u3Fixed in 3.0.0-1
  2. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.8.16-1ubuntu1.1+esm1
  3. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.8.22-1ubuntu0.1~esm1
  4. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.18-1ubuntu0.1+esm1
  5. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.30-1ubuntu0.1+esm1
  6. Upgrade

    Upgrade ubuntu/gimp to a version that resolves this vulnerability.

    Fixed in 2.10.36-3ubuntu0.24.04.1+esm1

Event History

Apr 7, 2025
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Updated
via ZDI·12:00 AM
Affected Software
Event
via ZDI·12:00 AM
Apr 23, 2025
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Jun 2, 2025
News Published
via The Hacker News·11:23 AM
Aug 14, 2025
Data Sourced
via NVD·02:45 PM
Affected Software
Updated
via NVD·02:45 PM
Severity
Updated
via NVD·03:46 PM
Severity
Nov 24, 2026
Data Sourced
via OSV·02:54 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-2761?

CVE-2025-2761 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2025-2761?

To mitigate CVE-2025-2761, update GIMP to the latest version provided by the developers.

3

What types of systems are affected by CVE-2025-2761?

CVE-2025-2761 affects installations of GIMP that handle FLI file parsing.

4

What is the impact of CVE-2025-2761?

CVE-2025-2761 allows remote attackers to execute arbitrary code, compromising the affected system.

5

Is user interaction required to exploit CVE-2025-2761?

Yes, user interaction is required as the targeted user must open a malicious FLI file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203