CVE-2023-44442

NameCVE-2023-44442
DescriptionGIMP PSD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of PSD files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute arbitrary code in the context of the current process. Was ZDI-CAN-22094.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3659-1, DSA-5564-1
Debian Bugs1055984

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+deb11u1fixed
bookworm2.10.34-1+deb12u2fixed
bookworm (security)2.10.34-1+deb12u1fixed
sid2.10.38-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsourcebuster2.10.8-2+deb10u1DLA-3659-1
gimpsourcebullseye2.10.22-4+deb11u1DSA-5564-1
gimpsourcebookworm2.10.34-1+deb12u1DSA-5564-1
gimpsource(unstable)2.10.36-11055984

Notes

https://www.zerodayinitiative.com/advisories/ZDI-23-1594/
https://www.gimp.org/news/2023/11/07/gimp-2-10-36-released/#fixed-vulnerabilities
https://gitlab.gnome.org/GNOME/gimp/-/commit/985c0a20e18b5b3b8a48ee9cb12287b1d5732d3d (GIMP_2_10_36)
https://gitlab.gnome.org/GNOME/gimp/-/issues/10101 (restricted)

Search for package or bug name: Reporting problems