CVE-2023-44442: GIMP PSD File Parsing Heap-based Buffer Overflow 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 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. '''
Other sources
GIMP 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.
— MITRE
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-44442?
CVE-2023-44442 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of GIMP.
Is user interaction required to exploit CVE-2023-44442?
Yes, user interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
Which software versions are affected by CVE-2023-44442?
CVE-2023-44442 affects GIMP versions 2.10.8-2 to 2.10.34-1.
How can I fix CVE-2023-44442?
To fix CVE-2023-44442, you should update GIMP to version 2.10.36 or later.
Where can I find more information about CVE-2023-44442?
You can find more information about CVE-2023-44442 at the following references: [MITRE CVE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-44442), [Zero Day Initiative](https://www.zerodayinitiative.com/advisories/ZDI-23-1594/), [GIMP news](https://www.gimp.org/news/2023/11/07/gimp-2-10-36-released/#fixed-vulnerabilities).