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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | gimp | 3.0.0~RC1-4 | DEBIAN-CVE-2025-48796 |
| Debian:14 | gimp | 3.0.0~RC1-4 | DEBIAN-CVE-2025-48796 |
| Ubuntu:22.04:LTS | gimp | no fix listed | UBUNTU-CVE-2025-48796 |
| Ubuntu:24.04:LTS | gimp | no fix listed | UBUNTU-CVE-2025-48796 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://access.redhat.com/security/cve/CVE-2025-48796 vdb-entry, x_refsource_REDHAT
- RHBZ#2368559 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/issues/9257