CVE-2026-137941

NameCVE-2026-137941
DescriptionA flaw was found in GIMP. The Levels configuration setter does not validate the channel enum before using it to index fixed-size per-channel arrays. A crafted XCF file with a non-destructive Levels filter can set an out-of-range channel (LUMINANCE or RGB), causing a heap out-of-bounds read and write when the file is opened. This may lead to a crash or arbitrary code execution.
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)
Debian Bugs1155629

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gimp (PTS)bookworm, bookworm (security)2.10.34-1+deb12u10vulnerable
trixie (security), trixie3.0.4-3+deb13u11vulnerable
forky, sid3.2.8-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsource(unstable)(unfixed)1155629

Notes

https://gitlab.gnome.org/GNOME/gimp/-/issues/17004
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/d18a94722b9f5f3a63643e369019e81b9a32af92 (gimp-3-2)

Search for package or bug name: Reporting problems