Vulnerability · Published May 27, 2025 · Assigned by redhat

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

High 7.3

In plain English

A high-severity stack buffer overflow in gimp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)0.2%top 89.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:13gimp3.0.0~RC1-4DEBIAN-CVE-2025-48796
Debian:14gimp3.0.0~RC1-4DEBIAN-CVE-2025-48796
Ubuntu:22.04:LTSgimpno fix listedUBUNTU-CVE-2025-48796
Ubuntu:24.04:LTSgimpno fix listedUBUNTU-CVE-2025-48796

Affected products (as reported)

VendorProductVersions
gimp 0 – before 2.99.16
Red Hat Red Hat Enterprise Linux 6 see references
Red Hat Red Hat Enterprise Linux 7 see references
Red Hat Red Hat Enterprise Linux 8 see references
Red Hat Red Hat Enterprise Linux 9 see references

Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

References