CVE & CISA-KEV Catalog

CVE-2023-38559

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
ghostscriptDebian
Fixed in:9.53.3~dfsg-7+deb11u6CVE-2023-38559
Fixed in:10.0.0~dfsg-11+deb12u2CVE-2023-38559
Fixed in:10.02.0~dfsg-1CVE-2023-38559
Fixed in:10.02.0~dfsg-1CVE-2023-38559
ghostscriptRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscriptRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-debuginfoRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-debuginfoRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-debugsourceRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-debugsourceRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-docRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-docRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-gtk-debuginfoRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-gtk-debuginfoRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-tools-dvipdfRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-tools-dvipdfRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-tools-fontsRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-tools-fontsRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-tools-printingRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-tools-printingRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-x11Red Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-x11Rocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-x11-debuginfoRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscript-x11-debuginfoRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
libgsRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
libgsRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
libgs-debuginfoRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
libgs-debuginfoRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
libgs-develRocky
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
libgs-develRed Hat / RHEL
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.27-11.el8RHSA-2023:7053
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
Fixed in:0:9.54.0-13.el9RHSA-2023:6544
ghostscriptUbuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm6USN-6297-1
Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18+esm1USN-6297-1
Fixed in:9.50~dfsg-5ubuntu4.9USN-6297-1
Fixed in:9.55.0~dfsg1-0ubuntu5.4USN-6297-1
Fixed in:10.0.0~dfsg1-0ubuntu1.3USN-6297-1
libgs10Ubuntu
Fixed in:10.0.0~dfsg1-0ubuntu1.3USN-6297-1
libgs9Ubuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm6USN-6297-1
Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18+esm1USN-6297-1
Fixed in:9.50~dfsg-5ubuntu4.9USN-6297-1
Fixed in:9.55.0~dfsg1-0ubuntu5.4USN-6297-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

0.45%probability of exploitation in 30 days
36thpercentile

Low risk: more likely to be exploited than 36% of all known CVEs.

References

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2023-38559
CVE-2023-38559 severity badge

Markdown

[![CVE-2023-38559](https://tridentstack.com/cve/badge/CVE-2023-38559.svg)](https://tridentstack.com/cve/CVE-2023-38559)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-38559"><img src="https://tridentstack.com/cve/badge/CVE-2023-38559.svg" alt="CVE-2023-38559"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-23.