CVEfocus › CVE database › CVE-2023-38559

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

CVSS 5.5 MediumEPSS 0.4% (higher than 30% of CVEs)Published 2023-08-01Updated 2026-11-07Assigner: redhat

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.

CWE-125

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

37Fixed
3Fix pending
11Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ghostscriptFixed9.55.0~dfsg1-0ubuntu5.4UBUNTU-CVE-2023-38559
Ubuntu 20.04ghostscriptFixed9.50~dfsg-5ubuntu4.9UBUNTU-CVE-2023-38559
Ubuntu 18.04ghostscriptFix pending9.26~dfsg+0-0ubuntu0.18.04.18+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-38559
Ubuntu 16.04ghostscriptFix pending9.26~dfsg+0-0ubuntu0.16.04.14+esm6 (Ubuntu Pro)UBUNTU-CVE-2023-38559
Ubuntu 14.04ghostscriptFix pending
Debian 14ghostscriptFixed10.02.0~dfsg-1DEBIAN-CVE-2023-38559
Debian 13ghostscriptFixed10.02.0~dfsg-1DEBIAN-CVE-2023-38559
Debian 12ghostscriptFixed10.0.0~dfsg-11+deb12u2DEBIAN-CVE-2023-38559
Red Hat Enterprise Linux 9ghostscriptFixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 9ghostscript-docFixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 9ghostscript-tools-dvipdfFixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 9ghostscript-tools-fontsFixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 9ghostscript-tools-printingFixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 9ghostscript-x11Fixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 9libgsFixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 9libgs-develFixed0:9.54.0-13.el9RHSA-2023:6544
Red Hat Enterprise Linux 8ghostscriptFixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 8ghostscript-docFixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfFixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 8ghostscript-tools-fontsFixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 8ghostscript-tools-printingFixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 8ghostscript-x11Fixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 8libgsFixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 8libgs-develFixed
Will not fix
0:9.27-11.el8RHSA-2023:7053
Red Hat Enterprise Linux 7ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-gtkWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-gtkWill not fix
Out of support scope
AlmaLinux 9ghostscriptFixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 9ghostscript-docFixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 9ghostscript-tools-dvipdfFixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 9ghostscript-tools-fontsFixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 9ghostscript-tools-printingFixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 9ghostscript-x11Fixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 9libgsFixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 9libgs-develFixed9.54.0-13.el9ALSA-2023:6544
AlmaLinux 8ghostscriptFixed9.27-11.el8ALSA-2023:7053
AlmaLinux 8ghostscript-docFixed9.27-11.el8ALSA-2023:7053
AlmaLinux 8ghostscript-tools-dvipdfFixed9.27-11.el8ALSA-2023:7053
AlmaLinux 8ghostscript-tools-fontsFixed9.27-11.el8ALSA-2023:7053
AlmaLinux 8ghostscript-tools-printingFixed9.27-11.el8ALSA-2023:7053
AlmaLinux 8ghostscript-x11Fixed9.27-11.el8ALSA-2023:7053
AlmaLinux 8libgsFixed9.27-11.el8ALSA-2023:7053
AlmaLinux 8libgs-develFixed9.27-11.el8ALSA-2023:7053

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.