CVE-2023-38559 json
Ghostscript: out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in dos
published 2023-08-01 3 y ago modified 2026-11-07 2 d ago also EUVD-2023-42358
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs.
Patch / fix
- Red Hat Red Hat Enterprise Linux 8 0:9.27-11.el8
- Red Hat Red Hat Enterprise Linux 9 0:9.54.0-13.el9
- ghostscript Debian 12 10.0.0~dfsg-11+deb12u2
- ghostscript Debian 14, Debian 13 10.02.0~dfsg-1
debian advisories DEBIAN-CVE-2023-38559
- ghostscript Ubuntu 20.04 LTS 9.50~dfsg-5ubuntu4.9
- ghostscript Ubuntu 22.04 LTS 9.55.0~dfsg1-0ubuntu5.4
- ghostscript Ubuntu Pro 16.04 LTS 9.26~dfsg+0-0ubuntu0.16.04.14+esm6
- ghostscript Ubuntu Pro 18.04 LTS 9.26~dfsg+0-0ubuntu0.18.04.18+esm1
ubuntu advisories UBUNTU-CVE-2023-38559
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ghostscript RHEL 8 9.27-11.el8
- libgs RHEL 8 9.27-11.el8
- ghostscript-x11 RHEL 8 9.27-11.el8
- ghostscript-tools-fonts RHEL 8 9.27-11.el8
- ghostscript-tools-dvipdf RHEL 8 9.27-11.el8
- ghostscript-tools-printing RHEL 8 9.27-11.el8
- ghostscript RHEL 9 9.54.0-13.el9
- libgs RHEL 9 9.54.0-13.el9
red hat advisories RHSA-2023:7053RHSA-2023:6544
- ghostscript SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 9.52-23.57.1
- ghostscript SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4, openSUSE Leap 15.5 +3 more 9.52-150000.170.1
suse advisories SUSE-SU-2023:3439-1SUSE-SU-2023:3438-1
- ghostscript openSUSE Tumbleweed 9.56.1-5.1
opensuse advisories openSUSE-SU-2024:13081-1
- ghostscript AlmaLinux 8 9.27-11.el8
- libgs AlmaLinux 8 9.27-11.el8
- ghostscript-x11 AlmaLinux 8 9.27-11.el8
- ghostscript-tools-fonts AlmaLinux 8 9.27-11.el8
- ghostscript-tools-dvipdf AlmaLinux 8 9.27-11.el8
- ghostscript-tools-printing AlmaLinux 8 9.27-11.el8
- ghostscript AlmaLinux 9 9.54.0-13.el9
- libgs AlmaLinux 9 9.54.0-13.el9
almalinux advisories ALSA-2023:7053ALSA-2023:6544
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-38559 updated cvss 5.5
ghostscript: Out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in DoS
-
Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cupsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printingaffected: no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) ghostscript-tools-fonts 9.27-11.el8, ghostscript-tools-dvipdf 9.27-11.el8, ghostscript-tools-printing 9.27-11.el8fixed: vendor fix RHSA-2023:7053
-
Red Hat CodeReady Linux Builder (v. 9) ghostscript 9.54.0-13.el9, ghostscript-tools-fonts 9.54.0-13.el9, ghostscript-tools-printing 9.54.0-13.el9fixed: vendor fix RHSA-2023:6544
-
Red Hat Enterprise Linux AppStream (v. 8) libgs 9.27-11.el8, ghostscript 9.27-11.el8, ghostscript-x11 9.27-11.el8fixed: vendor fix RHSA-2023:7053
-
Red Hat Enterprise Linux AppStream (v. 9) libgs 9.54.0-13.el9, ghostscript 9.54.0-13.el9, ghostscript-x11 9.54.0-13.el9, ghostscript-tools-fonts 9.54.0-13.el9, ghostscript-tools-dvipdf 9.54.0-13.el9, ghostscript-tools-printing 9.54.0-13.el9fixed: vendor fix RHSA-2023:6544
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-046-11 updated cvss 5.5
Siemens SCALANCE XCM-/XRM-300
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4affected: fixed in V2.4 support.industry.siemens.com
+5 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
Classification
References
-
git.ghostscript.com
/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1
mailing-list, patch
-
access.redhat.com
/errata/RHSA-2023:6544
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2023:7053
vendor-advisory, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2023-38559
vdb-entry, third-party-advisory
-
bugs.ghostscript.com
/show_bug.cgi?id=706897
permissions-required
-
bugzilla.redhat.com
/show_bug.cgi?id=2224367
issue-tracking, third-party-advisory
- lists.debian.org /debian-lts-announce/2023/08/msg00006.html
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/GBV6BTUREXM6DB3OGHGLMWGAZ3I45TXE/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/QH7ERAYSSXEYDWWY7LOV7CA5MIDZN3Z6/
Sources
- CVE List CVE-2023-38559
- NVD CVE-2023-38559
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.