# CVE-2023-38559: Ghostscript: out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in dos

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2023-08-01T16:49:47.537Z
- Modified: 2026-11-26T12:16:59.510Z
- Weaknesses: CWE-120, CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- ghostscript: no versions given (not affected: from 0:9.27-11.el8 before *; from 0:9.54.0-13.el9 before *)
- gimp:flatpak/ghostscript: no versions given
- artifex ghostscript: before 10.02.0
- redhat enterprise_linux: 8.0; 9.0
- fedoraproject fedora: 37; 38
- debian debian_linux: 10.0

## Every score

- redhat: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2023:6544> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7053> (third-party-advisory, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-38559> (third-party-advisory, vdb-entry)
- <https://bugs.ghostscript.com/show_bug.cgi?id=706897> (permissions-required)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2224367> (issue-tracking, third-party-advisory)
- <https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1> (mailing-list, patch)
- <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/>

## Sources

- CVE List: [CVE-2023-38559](https://www.cve.org/CVERecord?id=CVE-2023-38559), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-38559](https://nvd.nist.gov/vuln/detail/CVE-2023-38559), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2023-38559 · Whole record: https://cve.day/CVE-2023-38559.json · Rebuilt by cve.day 2026-11-26T12:17:21.857Z
