CVE-2026-136328

NameCVE-2026-136328
DescriptionA flaw was found in the file-psd plugin in GIMP. When processing a specially crafted PSD (Photoshop Document) image file in LAB color mode, the plugin does not properly validate that a fourth channel is present when the transparency flag is set. This mismatch causes the merged-image path to allocate buffers for three components while performing color conversion with four-component formats, resulting in a heap-based buffer overflow. This issue can result in an application crash, leading to a denial of service, or potentially allow for 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)

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)

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2583381
https://gitlab.gnome.org/GNOME/gimp/-/work_items/17002
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/3093
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/b04e602e67a4e49874958182275bd79341151e01

Search for package or bug name: Reporting problems