Heap-based buffer overflow in Gimp - CVE-2023-44442

 

Heap-based buffer overflow in Gimp - CVE-2023-44442

Published: November 15, 2023


Vulnerability identifier: #VU83203
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-44442
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the parsing of PSD files. A remote attacker can trick a victim to open a specially crafted file, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gimp
Debian Linux
Gentoo Linux
Oracle Linux
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
Anolis OS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise Workstation Extension 12
Slackware Linux
SUSE Package Hub 15
openSUSE Leap
openEuler
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
python2-cairo-devel
python2-cairo
gimp-plugins-python
libgimpui-2_0-0
libgimp-2_0-0-debuginfo
libgimp-2_0-0
gimp-debuginfo
libgimpui-2_0-0-debuginfo
gimp-devel-debuginfo
gimp-devel
gimp-debugsource
gimp-plugins-python-debuginfo
gimp
gimp-lang
gimp-libs
gimp-devel-tools
gimp-help
gimp (Ubuntu package)
gimp (Debian package)
libgimpui-2_0-0-64bit-debuginfo
gimp-plugin-aa-debuginfo
libgimp-2_0-0-64bit
gimp-plugin-aa
libgimpui-2_0-0-64bit
libgimp-2_0-0-64bit-debuginfo
libgimp-2_0-0-32bit
libgimpui-2_0-0-32bit
libgimp-2_0-0-32bit-debuginfo
libgimpui-2_0-0-32bit-debuginfo
media-gfx/gimp
pygtk2-doc
pygtk2
pygtk2-codegen
pygtk2-devel
pygobject2-doc
pygobject2-devel
pygobject2-codegen
pygobject2
gimp (Red Hat package)

How to mitigate CVE-2023-44442

Install updates from vendor's website.

Gimp - update to 2.10.36
python2-cairo-devel - update to 1.16.3-6
python2-cairo - update to 1.16.3-6
gimp-plugins-python - update to 2.8.18-9.27.1
libgimpui-2_0-0 - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
libgimp-2_0-0-debuginfo - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
libgimp-2_0-0 - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
gimp-debuginfo - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
libgimpui-2_0-0-debuginfo - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
gimp-devel-debuginfo - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
gimp-devel - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
gimp-debugsource - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
gimp-plugins-python-debuginfo - update to 2.8.18-9.27.1
gimp - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
gimp-lang - addressed in versions 2.8.18-9.27.1, 2.10.30-150400.3.11.1
gimp-libs - addressed in versions 2.8.22-1, 2.8.22-25
gimp-devel-tools - addressed in versions 2.8.22-1, 2.8.22-25
gimp-devel - addressed in versions 2.8.22-1, 2.8.22-25
gimp - addressed in versions 2.8.22-1, 2.8.22-25
gimp-debuginfo - update to 2.10.6-11
gimp-devel - update to 2.10.6-11
gimp-debugsource - update to 2.10.6-11
gimp-libs - update to 2.10.6-11
gimp - update to 2.10.6-11
gimp-help - update to 2.10.6-11
gimp (Ubuntu package) - addressed in versions 2.10.18-1ubuntu0.1, 2.10.30-1ubuntu0.1, 2.10.34-1ubuntu0.23.04.1, 2.10.34-1ubuntu0.23.10.1
gimp (Debian package) - addressed in versions 2.10.22-4+deb11u1, 2.10.34-1+deb12u1
libgimpui-2_0-0-64bit-debuginfo - update to 2.10.30-150400.3.11.1
gimp-plugin-aa-debuginfo - update to 2.10.30-150400.3.11.1
libgimp-2_0-0-64bit - update to 2.10.30-150400.3.11.1
gimp-plugin-aa - update to 2.10.30-150400.3.11.1
libgimpui-2_0-0-64bit - update to 2.10.30-150400.3.11.1
libgimp-2_0-0-64bit-debuginfo - update to 2.10.30-150400.3.11.1
libgimp-2_0-0-32bit - update to 2.10.30-150400.3.11.1
libgimpui-2_0-0-32bit - update to 2.10.30-150400.3.11.1
libgimp-2_0-0-32bit-debuginfo - update to 2.10.30-150400.3.11.1
libgimpui-2_0-0-32bit-debuginfo - update to 2.10.30-150400.3.11.1
media-gfx/gimp - update to 2.10.36
gimp - update to 2.10.36
pygtk2-doc - update to 2.24.0-25
pygtk2 - update to 2.24.0-25
pygtk2-codegen - update to 2.24.0-25
pygtk2-devel - update to 2.24.0-25
pygobject2-doc - update to 2.28.7-4
pygobject2-devel - update to 2.28.7-4
pygobject2-codegen - update to 2.28.7-4
pygobject2 - update to 2.28.7-4
gimp (Red Hat package) - addressed in versions 2.99.8-3.el9_0, 2.99.8-4.el9_2, 2.99.8-4.el9_3, 2.99.8-4.el9_4, 2.99.8-4.el9_5, 2.99.8-4.el9_6

External References

Related Security Bulletins