Buffer overflow in Ghostscript - CVE-2023-38559
Published: August 7, 2023
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error within the devn_pcx_write_rle() function in base/gdevdevn.c. A remote attacker can create a specially crafted PDF document, pass it to the affected application, trigger memory corruption and perform a denial of service (DoS) attack.
Affected software
Oracle Linux
Amazon Linux AMI
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Anolis OS
Red Hat CodeReady Linux Builder for IBM z Systems
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Oracle Solaris
Migration Toolkit for Containers
ghostscript (Ubuntu package)
libgs9 (Ubuntu package)
ghostscript
ghostscript (Red Hat package)
ghostscript-help
ghostscript-debuginfo
ghostscript-devel
ghostscript-debugsource
ghostscript-tools-dvipdf
ghostscript-x11
ghostscript-x11-debuginfo
ghostscript-tools-fonts
ghostscript-tools-printing
libgs
ghostscript-doc
libgs-devel
libgs10 (Ubuntu package)
ghostscript-gtk
How to mitigate CVE-2023-38559
ghostscript (Ubuntu package) - addressed in versions Ubuntu Pro, 9.50~dfsg-5ubuntu4.9, 9.55.0~dfsg1-0ubuntu5.4, 10.0.0~dfsg1-0ubuntu1.3
libgs9 (Ubuntu package) - addressed in versions Ubuntu Pro, 9.50~dfsg-5ubuntu4.9, 9.55.0~dfsg1-0ubuntu5.4
ghostscript - addressed in versions 8.70-24.29, 9.56.1-7
ghostscript (Red Hat package) - addressed in versions 9.27-11.el8, 9.54.0-13.el9
ghostscript - addressed in versions 9.52-9, 9.52-10, 9.55.0-5
ghostscript-help - addressed in versions 9.52-9, 9.52-10, 9.55.0-5
ghostscript-debuginfo - addressed in versions 9.52-9, 9.52-10, 9.55.0-5
ghostscript-devel - addressed in versions 9.52-9, 9.52-10, 9.55.0-5
ghostscript-debugsource - addressed in versions 9.52-9, 9.52-10, 9.55.0-5
ghostscript-tools-dvipdf - addressed in versions 9.52-9, 9.52-10, 9.55.0-5
ghostscript-x11 - addressed in versions 9.52-23.57.1, 9.52-150000.170.1
ghostscript - addressed in versions 9.52-23.57.1, 9.52-150000.170.1
ghostscript-x11-debuginfo - addressed in versions 9.52-23.57.1, 9.52-150000.170.1
ghostscript-devel - addressed in versions 9.52-23.57.1, 9.52-150000.170.1
ghostscript-debuginfo - addressed in versions 9.52-23.57.1, 9.52-150000.170.1
ghostscript-debugsource - addressed in versions 9.52-23.57.1, 9.52-150000.170.1
ghostscript-x11 - addressed in versions 9.54.0-11, 10.01.2-2
ghostscript - addressed in versions 9.54.0-11, 10.01.2-2
ghostscript-tools-dvipdf - addressed in versions 9.54.0-11, 10.01.2-2
ghostscript-tools-fonts - addressed in versions 9.54.0-11, 10.01.2-2
ghostscript-tools-printing - addressed in versions 9.54.0-11, 10.01.2-2
libgs - addressed in versions 9.54.0-11, 10.01.2-2
ghostscript-doc - addressed in versions 9.54.0-11, 10.01.2-2
libgs-devel - addressed in versions 9.54.0-11, 10.01.2-2
ghostscript - addressed in versions 9.56.1-9.fc37, 10.01.2-3.fc38
libgs10 (Ubuntu package) - update to 10.0.0~dfsg1-0ubuntu1.3
ghostscript-gtk - update to 10.01.2-2
Oracle Solaris - update to 11.4 SRU 65
External References
Related Security Bulletins
- Denial of service in Ghostscript
- Fedora 38 update for ghostscript
- Ubuntu update for ghostscript
- Fedora 37 update for ghostscript
- Amazon Linux AMI update for ghostscript
- SUSE update for ghostscript
- SUSE update for ghostscript
- Red Hat Enterprise Linux 9 update for ghostscript
- Multiple vulnerabilities in Oracle Linux
- Red Hat Enterprise Linux 8 update for ghostscript
- Oracle Solaris update for thrid-party components
- openEuler 20.03 LTS SP1 update for ghostscript
- openEuler 20.03 LTS SP3 update for ghostscript
- openEuler 22.03 LTS update for ghostscript
- openEuler 22.03 LTS SP1 update for ghostscript
- openEuler 22.03 LTS SP2 update for ghostscript
- Multiple vulnerabilities in Red Hat Migration Toolkit for Containers (MTC) 1.8
- Multiple vulnerabilities in Red Hat Migration Toolkit for Containers (MTC) 1.7
- Amazon Linux AMI update for ghostscript
- Anolis OS update for ghostscript
- Anolis OS update for ghostscript