CVE-2025-48796: Gimp: stack-based buffer overflows in file-ico

Published May 26, 2025
·
Updated

A flaw was found in GIMP. The GIMP aniloadimage() function is vulnerable to a stack-based overflow. If a user opens.ANI files, GIMP may be used to store more information than the capacity allows. This flaw allows a malicious ANI file to trigger arbitrary code execution.

Other sources

GIMP prior to version 2.99.16 is vulnerable to a stack-based buffer overflow in the aniloadimage() function. A malicious ANI file may achieve arbitrary code execution.

Red Hat

Affected Software

1 affected component
GIMP<2.99.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GIMP to a version that resolves this vulnerability.

    Fixed in 2.99.16

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-48796?

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

2

How do I fix CVE-2025-48796?

To mitigate CVE-2025-48796, users should upgrade GIMP to version 2.99.16 or later.

3

What is the impact of CVE-2025-48796 on GIMP?

The impact of CVE-2025-48796 allows a malicious ANI file to exploit a stack-based buffer overflow, leading to potential arbitrary code execution.

4

Is GIMP 2.99.16 affected by CVE-2025-48796?

No, GIMP version 2.99.16 and later are not affected by CVE-2025-48796.

5

What versions of GIMP are vulnerable to CVE-2025-48796?

GIMP versions prior to 2.99.16 are vulnerable to CVE-2025-48796.

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