# CVE-2023-38559: Ghostscript: out-of-bound read in base/gdevdevn.c:1973 in devn\_pcx\_write\_rle could result in dos

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-08-01 · Modified: 2026-11-26
- Aliases: SUSE-SU-2023:3438-1, SUSE-SU-2023:3439-1, UBUNTU-CVE-2023-38559, USN-6297-1, DEBIAN-CVE-2023-38559, DLA-3519-1, CGA-478x-9f6v-7pf6, CGA-cpq5-xpmh-h6wv
- Record: https://cvemate.com/vulnerability/CVE-2023-38559 · JSON: https://cvemate.com/vulnerability/CVE-2023-38559/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.442%, percentile 40.161%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard ghostscript (Chainguard): \< 10.03.0-r0
- wolfi ghostscript (Wolfi): \< 10.03.0-r0
- artifex ghostscript: \< 10.02.0
- debian ghostscript (Debian): \< 9.27~dfsg-2+deb10u8 \| \< 10.0.0~dfsg-11+deb12u2 \| \< 10.02.0~dfsg-1
- ubuntu ghostscript (Ubuntu): \< 9.26~dfsg+0-0ubuntu0.16.04.14+esm6 \| \< 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 \| \< 9.50~dfsg-5ubuntu4.9 \| \< 9.55.0~dfsg1-0ubuntu5.4
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38
- redhat enterprise\_linux: 8.0 \| 9.0
- opensuse ghostscript&distro=openSUSE Leap 15.4 (openSUSE): \< 9.52-150000.170.1
- opensuse ghostscript&distro=openSUSE Leap 15.5 (openSUSE): \< 9.52-150000.170.1
- suse ghostscript&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4 (SUSE Linux Enterprise): \< 9.52-150000.170.1
- suse ghostscript&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5 (SUSE Linux Enterprise): \< 9.52-150000.170.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 12 SP5 (SUSE Linux Enterprise): \< 9.52-23.57.1
- suse ghostscript&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5 (SUSE Linux Enterprise): \< 9.52-23.57.1
- suse ghostscript&distro=SUSE Linux Enterprise Software Development Kit 12 SP5 (SUSE Linux Enterprise): \< 9.52-23.57.1
- suse ghostscript&distro=SUSE Manager Proxy 4.2 (SUSE Linux Enterprise): \< 9.52-150000.170.1
- suse ghostscript&distro=SUSE Manager Server 4.2 (SUSE Linux Enterprise): \< 9.52-150000.170.1

## References

- <https://access.redhat.com/errata/RHSA-2023:6544>
- <https://access.redhat.com/errata/RHSA-2023:7053>
- <https://access.redhat.com/security/cve/CVE-2023-38559>
- <https://bugs.ghostscript.com/show_bug.cgi?id=706897>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2224367>
- <https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1>
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00006.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GBV6BTUREXM6DB3OGHGLMWGAZ3I45TXE/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QH7ERAYSSXEYDWWY7LOV7CA5MIDZN3Z6/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20233438-1/>
- <https://bugzilla.suse.com/1213637>
- <https://www.suse.com/security/cve/CVE-2023-38559>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20233439-1/>
- <https://ubuntu.com/security/CVE-2023-38559>
- <https://ubuntu.com/security/notices/USN-6297-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-38559>
- <https://security-tracker.debian.org/tracker/CVE-2023-38559>

---

Data as of 2026-12-05T08:54:36.927Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
