CVE-2023-44444: GIMP PSP File Parsing Off-By-One Remote Code Execution Vulnerability
From the ZDI report: ''' 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 PSP files. Crafted data in a PSP file can trigger an off-by-one error when calculating a location to write within a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. '''
Other sources
GIMP PSP File Parsing Off-By-One 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 PSP files. Crafted data in a PSP file can trigger an off-by-one error when calculating a location to write within a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. . Was ZDI-CAN-22097.
— MITRE
GIMP PSP File Parsing Off-By-One 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 PSP files. Crafted data in a PSP file can trigger an off-by-one error when calculating a location to write within a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-22097.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/gimpto a version that resolves this vulnerability.Fixed in 2.10.22-4+deb11u2Fixed in 2.10.22-4+deb11u1Fixed in 2.10.34-1+deb12u2Fixed in 2.10.34-1+deb12u1Fixed in 3.0.0~RC2-1 - Upgrade
Upgrade
redhat/GIMPto a version that resolves this vulnerability.Fixed in 2.10.36 - Upgrade
Upgrade
alpine/gimpto a version that resolves this vulnerability.Fixed in 2.10.36-r0
Event History
Frequently Asked Questions
What is CVE-2023-44444?
CVE-2023-44444 is a vulnerability in GIMP that allows remote attackers to execute arbitrary code on affected installations.
How can this vulnerability be exploited?
This vulnerability can be exploited by visiting a malicious page or opening a malicious file.
What is the severity of CVE-2023-44444?
CVE-2023-44444 has a severity rating of 7.8, which is considered high.
What versions of GIMP are affected by CVE-2023-44444?
Versions up to 2.10.34-1 of GIMP are affected by CVE-2023-44444.
How can I fix CVE-2023-44444?
To fix CVE-2023-44444, update GIMP to version 2.10.36-1 or later.