| Name | CVE-2026-40915 |
| Description | A flaw was found in GIMP. A remote attacker could exploit an integer overflow vulnerability in the FITS image loader by providing a specially crafted FITS file. This integer overflow leads to a zero-byte memory allocation, which is then subjected to a heap buffer overflow when processing pixel data. Successful exploitation could result in a denial of service (DoS) or potentially arbitrary code execution. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| gimp (PTS) | bullseye | 2.10.22-4+deb11u2 | vulnerable |
| bullseye (security) | 2.10.22-4+deb11u8 | vulnerable |
| bookworm | 2.10.34-1+deb12u5 | vulnerable |
| bookworm (security) | 2.10.34-1+deb12u10 | vulnerable |
| trixie | 3.0.4-3+deb13u7 | vulnerable |
| trixie (security) | 3.0.4-3+deb13u8 | vulnerable |
| forky, sid | 3.2.4-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| gimp | source | (unstable) | 3.2.2-1 | | | |
Notes
[trixie] - gimp <no-dsa> (Minor issue, fix along with future DSA)
[bookworm] - gimp <no-dsa> (Minor issue, fix along with future DSA)
[bullseye] - gimp <postponed> (Minor issue; can be fixed in next update)
https://gitlab.gnome.org/GNOME/gimp/-/issues/16051
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/e0bd82f290d42af4018b0ab3f4367ae0435a207f (GIMP_3_2_2)