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

Summary

CVECVE-2023-38559
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-08-01 17:15:09 UTC
Updated2026-06-23 18:17:32 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS: 0.004470000 probability, percentile 0.357180000 (date 2026-06-28)

Problem Types: CWE-125 | CWE-120 | CWE-125 Out-of-bounds Read


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
3.1[email protected]Secondary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
3.1CNACVSS5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Artifex Ghostscript All All All All
Operating System Debian Debian Linux 10.0 All All All
Operating System Fedoraproject Fedora 37 All All All
Operating System Fedoraproject Fedora 38 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:9.27-11.el8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:9.54.0-13.el9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 8 Not specified Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 37 Update: ghostscript-9.56.1-9.fc37 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
git.ghostscript.com Git - ghostpdl.git/commitdiff af854a3a-2127-422b-91ae-364da2661108 git.ghostscript.com Mailing List, Patch
[SECURITY] [DLA 3519-1] ghostscript security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
Bug Access Denied af854a3a-2127-422b-91ae-364da2661108 bugs.ghostscript.com Permissions Required
2224367 – (CVE-2023-38559) CVE-2023-38559 ghostscript: Out-of-bound read in base/gdevdevn.c:1973 in devn_pcx_write_rle could result in DoS af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
[SECURITY] Fedora 38 Update: ghostscript-10.01.2-3.fc38 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank fullwaywang (Tencent) for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-07-20T00:00:00.000ZReported to Red Hat.
CNA2023-07-17T00:00:00.000ZMade public.

Legacy QID Mappings

  • 161100 Oracle Enterprise Linux Security Update for ghostscript (ELSA-2023-6544)
  • 161137 Oracle Enterprise Linux Security Update for ghostscript (ELSA-2023-7053)
  • 199668 Ubuntu Security Notification for Ghostscript Vulnerability (USN-6297-1)
  • 242317 Red Hat Update for ghostscript (RHSA-2023:6544)
  • 242407 Red Hat Update for ghostscript (RHSA-2023:7053)
  • 284386 Fedora Security Update for ghostscript (FEDORA-2023-cba4a3a00f)
  • 284403 Fedora Security Update for ghostscript (FEDORA-2023-d0ef677e6f)
  • 296107 Oracle Solaris 11.4 Support Repository Update (SRU) 65.157.1 Missing (CPUJAN2024)
  • 355821 Amazon Linux Security Advisory for ghostscript : ALAS-2023-1801
  • 355834 Amazon Linux Security Advisory for ghostscript : ALAS2-2023-2204
  • 355877 Amazon Linux Security Advisory for ghostscript : ALAS2023-2023-296
  • 6000118 Debian Security Update for ghostscript (DLA 3519-1)
  • 673373 EulerOS Security Update for ghostscript (EulerOS-SA-2023-2876)
  • 673715 EulerOS Security Update for ghostscript (EulerOS-SA-2023-3126)
  • 673844 EulerOS Security Update for ghostscript (EulerOS-SA-2023-2895)
  • 673857 EulerOS Security Update for ghostscript (EulerOS-SA-2023-2785)
  • 674059 EulerOS Security Update for ghostscript (EulerOS-SA-2023-2809)
  • 941375 AlmaLinux Security Update for ghostscript (ALSA-2023:6544)
  • 941434 AlmaLinux Security Update for ghostscript (ALSA-2023:7053)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report