---
id: CVE-2025-48796
title: A flaw was found in GIMP
summary: >-
  A flaw was found in GIMP. The GIMP ani_load_image() 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 t…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-121
published: '2025-05-27'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-48796'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-48796'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2368559'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/gimp/-/issues/9257'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00195
epssPercentile: 0.08105
ingestedAt: '2026-06-29T13:24:34.337Z'
---

## Overview

A flaw was found in GIMP. The GIMP ani_load_image() 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
