CVE-2025-48798: Gimp: multiple use after free in xcf parser

Published May 26, 2025
·
Updated

A flaw was found in GIMP when processing XCF image files. If a user opens one of these image files that has been specially crafted by an attacker, GIMP can be tricked into making serious memory errors, potentially leading to crashes and causing use-after-free issues.

Other sources

GIMP prior to version 3.0.0 is vulnerable to two use-after-free bugs and one double free bug in its XCF parser. A malicious XCF file may attempt to abuse these vulnerabilities to achieve code execution.

Red Hat

Affected Software

1 affected component
GIMP<3.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GIMP to a version that resolves this vulnerability.

    Fixed in 3.0.0

Event History

May 26, 2025
Data Sourced
via Red Hat·10:52 AM
DescriptionSeverityAffected Software
May 27, 2025
CVE Published
via MITRE·02:05 PM
Data Sourced
via MITRE·02:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-48798?

CVE-2025-48798 has a critical severity rating due to its potential to lead to crashes and memory corruption in GIMP.

2

How do I fix CVE-2025-48798?

To fix CVE-2025-48798, update GIMP to the latest version that is beyond 3.0.0.

3

What is the impact of CVE-2025-48798?

The impact of CVE-2025-48798 includes the potential for use-after-free vulnerabilities that can crash the application.

4

Who is affected by CVE-2025-48798?

CVE-2025-48798 affects users running GIMP versions prior to 3.0.0 who open specially crafted XCF image files.

5

How does CVE-2025-48798 occur?

CVE-2025-48798 occurs when GIMP processes maliciously crafted XCF image files, leading to serious memory errors.

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