CVE-2023-44441: GIMP DDS 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 DDS 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 code in the context of the current process. '''
Other sources
GIMP DDS 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 DDS 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 code in the context of the current process. . Was ZDI-CAN-22093.
— MITRE
GIMP DDS 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 DDS 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 code in the context of the current process. Was ZDI-CAN-22093.
— 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-44441?
CVE-2023-44441 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 if the target visits a malicious page or opens a malicious file.
What is the severity of CVE-2023-44441?
The severity of CVE-2023-44441 is high, with a severity value of 7.8.
Which software versions are affected?
GIMP versions up to and including 2.10.36-1 on Ubuntu, and versions up to and including 2.10.34-1 on Debian, are affected.
How can I fix CVE-2023-44441?
To fix CVE-2023-44441, update GIMP to version 2.10.36-1 on Ubuntu or version 2.10.34-1 on Debian.