Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-28879 EUVD-2023-32499GHSA-6mcj-frmm-wmr5

In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript inter…

Published Mar 31, 2023 · Updated Feb 14, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 10.0.0~dfsg-11 —
Debian 13 ghostscript 10.0.0~dfsg-11 —
Debian 12 ghostscript 10.0.0~dfsg-11 —
Debian 11 ghostscript 9.53.3~dfsg-7+deb11u4 DSA-5383-1
Debian 10 ghostscript 9.27~dfsg-2+deb10u7 DLA-3381-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS ghostscript 9.55.0~dfsg1-0ubuntu5.2 USN-6017-1
Ubuntu 20.04 LTS ghostscript 9.50~dfsg-5ubuntu4.7 USN-6017-1
Ubuntu 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18 USN-6017-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.14+esm5 USN-6017-1
ReleasePackageFixed inAdvisory
RHEL 9 libgs +7 9.54.0-13.el9 RHSA-2023:6544
RHEL 8 libgs +7 9.27-11.el8 RHSA-2023:7053

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libgs +7 9.54.0-13.el9 ALSA-2023:6544
AlmaLinux 8 libgs +7 9.27-11.el8 ALSA-2023:7053
ReleasePackageFixed inAdvisory
SLES 15 SP4 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLES 15 SP3 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLES 15 SP2 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLES 15 SP1 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLES 12 SP5 ghostscript 9.52-23.51.1 SUSE-SU-2023:1797-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 ghostscript 9.52-23.51.1 SUSE-SU-2023:1797-1
SLES 12 SP2 ghostscript 9.52-23.51.1 SUSE-SU-2023:1797-1
SLES for SAP 15 SP3 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLES for SAP 15 SP2 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLES for SAP 15 SP1 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLES for SAP 12 SP5 ghostscript 9.52-23.51.1 SUSE-SU-2023:1797-1
SLES for SAP 12 SP4 ghostscript 9.52-23.51.1 SUSE-SU-2023:1797-1
SLE Real Time 15 SP3 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLE HPC 15 SP3 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLE HPC 15 SP2 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SLE HPC 15 SP1 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SUSE OpenStack Cloud Crowbar 9 ghostscript 9.52-23.51.1 SUSE-SU-2023:1797-1
SUSE OpenStack Cloud 9 ghostscript 9.52-23.51.1 SUSE-SU-2023:1797-1
SUSE Manager Server 4.2 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SUSE Manager Proxy 4.2 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SUSE Enterprise Storage 7.1 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
SUSE Enterprise Storage 7 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ghostscript 9.56.1-2.1 openSUSE-SU-2024:12853-1
openSUSE Leap 15.4 ghostscript 9.52-150000.164.1 SUSE-SU-2023:1799-1
ReleasePackageFixed inAdvisory
Alpine v3.17 ghostscript 10.0.0-r1 —
Alpine v3.16 ghostscript 9.56.1-r1 —
Alpine v3.15 ghostscript 9.55.0-r1 —
Alpine v3.14 ghostscript 9.54.0-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libgs +8 9.56.1-7.amzn2023.0.1 ALAS2023-2023-162
Amazon Linux 2 libgs +5 9.25-5.amzn2.0.3 ALAS2-2023-2019

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libgs +7 9.54.0-13.el9 ELSA-2023-6544
Oracle Linux 8 libgs +7 9.27-11.el8 ELSA-2023-7053

Advisories 16

References