CVE-2026-40918

NameCVE-2026-40918
DescriptionA 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.
SourceCVE (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 PackageReleaseVersionStatus
gimp (PTS)bullseye2.10.22-4+deb11u2fixed
bullseye (security)2.10.22-4+deb11u7fixed
bookworm2.10.34-1+deb12u5fixed
bookworm (security)2.10.34-1+deb12u9fixed
trixie (security), trixie3.0.4-3+deb13u7fixed
forky, sid3.2.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsourcebullseye(not affected)
gimpsourcebookworm(not affected)
gimpsourcetrixie(not affected)
gimpsource(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)

Search for package or bug name: Reporting problems