| Name | CVE-2026-40918 |
| Description | A flaw was found in GIMP. Processing a specially crafted PVR image file with large dimensions can lead to a denial of service (DoS). This occurs due to a stack-based buffer overflow and an out-of-bounds read in the PVR image loader, causing the application to crash. Systems that process untrusted PVR image files are affected. |
| 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 | fixed |
| bullseye (security) | 2.10.22-4+deb11u7 | fixed |
| bookworm | 2.10.34-1+deb12u5 | fixed |
| bookworm (security) | 2.10.34-1+deb12u9 | fixed |
| trixie (security), trixie | 3.0.4-3+deb13u7 | fixed |
| forky, sid | 3.2.2-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 | bullseye | (not affected) | | | |
| gimp | source | bookworm | (not affected) | | | |
| gimp | source | trixie | (not affected) | | | |
| gimp | source | (unstable) | 3.2.2-1 | | | |
Notes
[trixie] - gimp <not-affected> (Vulnerable code not present)
[bookworm] - gimp <not-affected> (Vulnerable code not present)
[bullseye] - gimp <not-affected> (Vulnerable code not present)
https://gitlab.gnome.org/GNOME/gimp/-/issues/16058
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/7612363d8cdc574d482433a3897a24612bee4d81 (GIMP_3_2_2)
Introduced by: https://gitlab.gnome.org/GNOME/gimp/-/commit/96a9000169a11742cad88b6f945c12766cbf3f42 (GIMP_3_2_0)