Vulnerability · Published May 3, 2024 · Assigned by zdi

CVE-2023-44442GIMP PSD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

High 7.8

In plain English

A high-severity heap buffer overflow in GIMP from GIMP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 61.2% (higher than 99.2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.8High
Exploit odds (30 days)61.2%top 0.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8gimp2:2.8.22-26.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8gimp2:2.8.22-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:9gimp2:2.99.8-4.el9_5ALSA-2025:3617
AlmaLinux:9gimp2:2.99.8-4.el9_6ALSA-2025:7417
AlmaLinux:9gimp2:2.99.8-4.el9_3ALSA-2024:0675
AlmaLinux:8gimp-devel2:2.8.22-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:8gimp-devel2:2.8.22-26.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8gimp-devel-tools2:2.8.22-26.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8gimp-devel-tools2:2.8.22-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:8gimp-libs2:2.8.22-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:8gimp-libs2:2.8.22-26.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:9gimp-libs2:2.99.8-4.el9_6ALSA-2025:7417
AlmaLinux:9gimp-libs2:2.99.8-4.el9_3ALSA-2024:0675
AlmaLinux:9gimp-libs2:2.99.8-4.el9_5ALSA-2025:3617
AlmaLinux:8pygobject22.28.7-4.module_el8.4.0+2208+3d7d61b2ALSA-2024:0861
AlmaLinux:8pygobject22.28.7-4.module_el8.0.0+6039+48ed2b14ALSA-2024:0861
AlmaLinux:8pygobject22.28.7-4.module_el8.6.0+3053+ee77682cALSA-2024:0861
AlmaLinux:8pygobject22.28.7-4.module_el8.5.0+17+826458aaALSA-2024:0861
AlmaLinux:8pygobject22.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8pygobject2-codegen2.28.7-4.module_el8.5.0+17+826458aaALSA-2024:0861
AlmaLinux:8pygobject2-codegen2.28.7-4.module_el8.6.0+3053+ee77682cALSA-2024:0861
AlmaLinux:8pygobject2-codegen2.28.7-4.module_el8.0.0+6039+48ed2b14ALSA-2024:0861
AlmaLinux:8pygobject2-codegen2.28.7-4.module_el8.4.0+2208+3d7d61b2ALSA-2024:0861
AlmaLinux:8pygobject2-codegen2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8pygobject2-devel2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8pygobject2-devel2.28.7-4.module_el8.4.0+2208+3d7d61b2ALSA-2024:0861
AlmaLinux:8pygobject2-devel2.28.7-4.module_el8.6.0+3053+ee77682cALSA-2024:0861
AlmaLinux:8pygobject2-devel2.28.7-4.module_el8.0.0+6039+48ed2b14ALSA-2024:0861
AlmaLinux:8pygobject2-devel2.28.7-4.module_el8.5.0+17+826458aaALSA-2024:0861
AlmaLinux:8pygobject2-doc2.28.7-5.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8pygobject2-doc2.28.7-4.module_el8.4.0+2208+3d7d61b2ALSA-2024:0861
AlmaLinux:8pygobject2-doc2.28.7-4.module_el8.6.0+3053+ee77682cALSA-2024:0861
AlmaLinux:8pygobject2-doc2.28.7-4.module_el8.0.0+6039+48ed2b14ALSA-2024:0861
AlmaLinux:8pygobject2-doc2.28.7-4.module_el8.5.0+17+826458aaALSA-2024:0861
AlmaLinux:8pygtk22.24.0-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:8pygtk22.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:0746
AlmaLinux:8pygtk2-codegen2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:8pygtk2-codegen2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:0746
AlmaLinux:8pygtk2-devel2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:8pygtk2-devel2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:0746
AlmaLinux:8pygtk2-doc2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2025:0746
AlmaLinux:8pygtk2-doc2.24.0-25.module_el8.9.0+3725+d1441900ALSA-2024:0861
AlmaLinux:8python2-cairo1.16.3-7.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8python2-cairo1.16.3-6.module_el8.5.0+17+826458aaALSA-2024:0861
AlmaLinux:8python2-cairo1.16.3-6.module_el8.4.0+2208+3d7d61b2ALSA-2024:0861
AlmaLinux:8python2-cairo1.16.3-6.module_el8.6.0+3053+ee77682cALSA-2024:0861
AlmaLinux:8python2-cairo1.16.3-6.module_el8.0.0+6039+48ed2b14ALSA-2024:0861
AlmaLinux:8python2-cairo-devel1.16.3-7.module_el8.10.0+3952+571e801cALSA-2025:0746
AlmaLinux:8python2-cairo-devel1.16.3-6.module_el8.6.0+3053+ee77682cALSA-2024:0861
AlmaLinux:8python2-cairo-devel1.16.3-6.module_el8.0.0+6039+48ed2b14ALSA-2024:0861
AlmaLinux:8python2-cairo-devel1.16.3-6.module_el8.5.0+17+826458aaALSA-2024:0861
AlmaLinux:8python2-cairo-devel1.16.3-6.module_el8.4.0+2208+3d7d61b2ALSA-2024:0861
Alpine:v3.20gimp2.10.36-r0ALPINE-CVE-2023-44442
Alpine:v3.21gimp2.10.36-r0ALPINE-CVE-2023-44442
Alpine:v3.22gimp2.10.36-r0ALPINE-CVE-2023-44442
Alpine:v3.23gimp2.10.36-r0ALPINE-CVE-2023-44442
Alpine:v3.24gimp2.10.36-r0ALPINE-CVE-2023-44442
Debian:12gimp2.10.34-1+deb12u1DEBIAN-CVE-2023-44442
Debian:12gimp2.10.34-1+deb12u1DSA-5564-1
Debian:13gimp2.10.36-1DEBIAN-CVE-2023-44442
Debian:14gimp2.10.36-1DEBIAN-CVE-2023-44442
Rocky Linux:8gimp2:2.8.22-25.module+el8.9.0+1723+9bc93544RLSA-2024:0861
Rocky Linux:8gimp2:2.8.22-26.module+el8.10.0+1927+52edb5a0RLSA-2025:0746
Rocky Linux:9gimp2:2.99.8-4.el9_6RLSA-2024:0675
Rocky Linux:9gimp2:2.99.8-4.el9_3RLSA-2025:7417
Rocky Linux:9gimp2:2.99.8-4.el9_6RLSA-2025:3617
Rocky Linux:8pygobject20:2.28.7-4.module+el8.9.0+1724+6863d082RLSA-2024:0861
Rocky Linux:8pygobject20:2.28.7-5.module+el8.10.0+1927+52edb5a0RLSA-2025:0746
Rocky Linux:8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2024:0861
Rocky Linux:8pygtk20:2.24.0-25.module+el8.9.0+1723+9bc93544RLSA-2025:0746
Rocky Linux:8python2-pycairo0:1.16.3-7.module+el8.10.0+1927+52edb5a0RLSA-2025:0746
Rocky Linux:8python2-pycairo0:1.16.3-6.module+el8.9.0+1724+6863d082RLSA-2024:0861
Ubuntu:22.04:LTSgimp2.10.30-1ubuntu0.1USN-6521-1
Ubuntu:22.04:LTSgimp2.10.30-1ubuntu0.1UBUNTU-CVE-2023-44442

Affected products (as reported)

VendorProductVersions
GIMP GIMP GIMP 2.10.34 (revision 2)

Weakness: CWE-122 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References