CVE-2023-38559: Ghostscript: out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in dos
Vulnerability summary
CVE-2023-38559 is a medium (CVSS 5.5) Out-of-bounds Read vulnerability in artifex ghostscript. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 40.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 01-08-2023PublishedVulnerability first disclosed.
- 26-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-120Buffer Copy without Checking Size of InputThe product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse7 products
- ghostscript&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 9.52-150000.170.1
- ghostscript&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 9.52-150000.170.1
- ghostscript&distro=SUSE Linux Enterprise Server 12 SP5< 9.52-23.57.1
- ghostscript&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 9.52-23.57.1
- ghostscript&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 9.52-23.57.1
Debian2 products
- ghostscript< 9.27~dfsg-2+deb10u8 | < 10.0.0~dfsg-11+deb12u2 | < 10.02.0~dfsg-1
- debian_linuxEOL10.0
Opensuse2 products
- ghostscript&distro=openSUSE Leap 15.4< 9.52-150000.170.1
- ghostscript&distro=openSUSE Leap 15.5< 9.52-150000.170.1
Artifex1 product
- ghostscript< 10.02.0
Chainguard1 product
- ghostscript< 10.03.0-r0
Fedoraproject1 product
- fedoraEOL37 | 38
Redhat1 product
- enterprise_linux8.0 | 9.0
Ubuntu1 product
- ghostscript< 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
Wolfi1 product
- ghostscript< 10.03.0-r0
9 vendors · 17 products
References
17 links- access.redhat.com/errata/RHSA-2023:6544Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7053Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/security/cve/CVE-2023-38559VDB EntryX Refsource REDHATREPORTAdvisoryThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2224367Issue TrackingX Refsource REDHATREPORTThird Party Advisory