CVE-2025-48797: Gimp: multiple heap buffer overflows in tga parser

Published May 26, 2025
·
Updated

A flaw was found in GIMP when processing certain TGA 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 a heap buffer overflow.

Other sources

GIMP prior to version 3.0.0 is vulnerable to two buffer over-reads and one heap-based buffer overflow in its TGA parser. A malicious TGA 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:04 PM
Data Sourced
via MITRE·02:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-48797?

CVE-2025-48797 is considered a high severity vulnerability due to the potential for heap buffer overflow leading to crashes.

2

How do I fix CVE-2025-48797?

To fix CVE-2025-48797, update GIMP to the latest version beyond 3.0.0 to mitigate the vulnerability.

3

Which versions of GIMP are affected by CVE-2025-48797?

CVE-2025-48797 affects GIMP versions up to and including 3.0.0.

4

What types of attacks can exploit CVE-2025-48797?

CVE-2025-48797 can be exploited by specially crafted TGA image files, which can lead to serious memory errors.

5

What are the consequences of exploiting CVE-2025-48797?

Exploiting CVE-2025-48797 may result in application crashes and potentially execution of arbitrary code due to heap buffer overflow.

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