CVE-2023-28879
Fixed in a distro release EPSS 6%CVSS 9.8
In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript interpreter, in base/sbcp.c. This affects BCPEncode, BCPDecode, TBCPEncode, and TBCPDecode. If the write buffer is filled to one byte less than full, and one then tries to write an escaped character, two bytes are written.
Products: artifex ghostscript, debian_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | ghostscript | 9.27-11.el8 |
| AlmaLinux 8 | ghostscript-doc | 9.27-11.el8 |
| AlmaLinux 8 | ghostscript-tools-dvipdf | 9.27-11.el8 |
| AlmaLinux 8 | ghostscript-tools-fonts | 9.27-11.el8 |
| AlmaLinux 8 | ghostscript-tools-printing | 9.27-11.el8 |
| AlmaLinux 8 | ghostscript-x11 | 9.27-11.el8 |
| AlmaLinux 8 | libgs | 9.27-11.el8 |
| AlmaLinux 8 | libgs-devel | 9.27-11.el8 |
| AlmaLinux 9 | ghostscript | 9.54.0-13.el9 |
| AlmaLinux 9 | ghostscript-doc | 9.54.0-13.el9 |
| AlmaLinux 9 | ghostscript-tools-dvipdf | 9.54.0-13.el9 |
| AlmaLinux 9 | ghostscript-tools-fonts | 9.54.0-13.el9 |
| AlmaLinux 9 | ghostscript-tools-printing | 9.54.0-13.el9 |
| AlmaLinux 9 | ghostscript-x11 | 9.54.0-13.el9 |
| AlmaLinux 9 | libgs | 9.54.0-13.el9 |
| AlmaLinux 9 | libgs-devel | 9.54.0-13.el9 |
| Alpine 3.14 | ghostscript | 9.54.0-r2 |
| Alpine 3.15 | ghostscript | 9.55.0-r1 |
| Alpine 3.16 | ghostscript | 9.56.1-r1 |
| Alpine 3.17 | ghostscript | 10.0.0-r1 |
| Amazon Linux 2 | ghostscript | 9.25-5.amzn2.0.3 |
| Amazon Linux 2 | ghostscript-cups | 9.25-5.amzn2.0.3 |
| Amazon Linux 2 | ghostscript-doc | 9.25-5.amzn2.0.3 |
| Amazon Linux 2 | ghostscript-gtk | 9.25-5.amzn2.0.3 |
| Amazon Linux 2 | libgs | 9.25-5.amzn2.0.3 |
| Amazon Linux 2 | libgs-devel | 9.25-5.amzn2.0.3 |
| Amazon Linux 2023 | ghostscript | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | ghostscript-doc | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | ghostscript-gtk | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | ghostscript-tools-dvipdf | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | ghostscript-tools-fonts | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | ghostscript-tools-printing | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | ghostscript-x11 | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | libgs | 9.56.1-7.amzn2023.0.1 |
| Amazon Linux 2023 | libgs-devel | 9.56.1-7.amzn2023.0.1 |
| Debian 10 | ghostscript | 9.27~dfsg-2+deb10u7 |
| Debian 11 | ghostscript | 9.53.3~dfsg-7+deb11u4 |
| Debian 12 | ghostscript | 10.0.0~dfsg-11 |
| Debian 13 | ghostscript | 10.0.0~dfsg-11 |
| Debian 14 | ghostscript | 10.0.0~dfsg-11 |
| Red Hat Enterprise Linux 8 | ghostscript | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-debuginfo | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-debugsource | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-doc | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-gtk-debuginfo | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-dvipdf | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-fonts | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-tools-printing | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-x11 | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | ghostscript-x11-debuginfo | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | libgs | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | libgs-debuginfo | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 8 | libgs-devel | 0:9.27-11.el8 |
| Red Hat Enterprise Linux 9 | ghostscript | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-debuginfo | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-debugsource | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-doc | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-gtk-debuginfo | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-dvipdf | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-fonts | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-tools-printing | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-x11 | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | ghostscript-x11-debuginfo | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | libgs | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | libgs-debuginfo | 0:9.54.0-13.el9 |
| Red Hat Enterprise Linux 9 | libgs-devel | 0:9.54.0-13.el9 |
| SUSE Enterprise Storage 7 | ghostscript | 9.52-150000.164.1 |
| SUSE Enterprise Storage 7.1 | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Real Time 15 SP3 | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | ghostscript | 9.52-23.51.1 |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | ghostscript | 9.52-23.51.1 |
| SUSE Linux Enterprise Server 12 SP4-LTSS | ghostscript | 9.52-23.51.1 |
| SUSE Linux Enterprise Server 12 SP5 | ghostscript | 9.52-23.51.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | ghostscript | 9.52-23.51.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | ghostscript | 9.52-23.51.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | ghostscript | 9.52-150000.164.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | ghostscript | 9.52-23.51.1 |
| SUSE Manager Proxy 4.2 | ghostscript | 9.52-150000.164.1 |
| SUSE Manager Server 4.2 | ghostscript | 9.52-150000.164.1 |
| SUSE OpenStack Cloud 9 | ghostscript | 9.52-23.51.1 |
| SUSE OpenStack Cloud Crowbar 9 | ghostscript | 9.52-23.51.1 |
| Ubuntu 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.18 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.7 |
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.2 |
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm5 |
| openSUSE Leap 15.4 | ghostscript | 9.52-150000.164.1 |
| openSUSE Tumbleweed | ghostscript | 9.56.1-2.1 |