CVE-2026-112257

NameCVE-2026-112257
DescriptionA flaw was found in GIMP. The PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bounds read and write in the plug-in process, leading to a crash and potentially arbitrary code execution when the victim browses or opens the file.
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
trixie3.0.4-3+deb13u10vulnerable
trixie (security)3.0.4-3+deb13u11vulnerable
forky, sid3.2.6-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=2555574
https://gitlab.gnome.org/GNOME/gimp/-/work_items/16862
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/b89635399d4b92f0b2872c627ef5966583603537 (gimp-3-2 branch)

Search for package or bug name: Reporting problems