CVE & CISA-KEV Catalog

CVE-2023-28879

CRITICALEPSS 93th pctl
9.8
CVSS v3
NVD

Description

In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript interpreter, in base/sbcp.c. This affects BCPEncode, BCPDecode, TBCPEncode, and TBCPDecode. If the write buffer is filled to one byte less than full, and one then tries to write an escaped character, two bytes are written.

How to fix

Remediation Available
ghostscriptDebian
Fixed in:9.53.3~dfsg-7+deb11u4CVE-2023-28879
Fixed in:10.0.0~dfsg-11CVE-2023-28879
Fixed in:10.0.0~dfsg-11CVE-2023-28879
Fixed in:10.0.0~dfsg-11CVE-2023-28879
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-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-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-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-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-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-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
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
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
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+esm5USN-6017-1
Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18USN-6017-1
Fixed in:9.50~dfsg-5ubuntu4.7USN-6017-1
Fixed in:9.55.0~dfsg1-0ubuntu5.2USN-6017-1
Fixed in:9.56.1~dfsg1-0ubuntu3.1USN-6017-1
Fixed in:10.0.0~dfsg1-0ubuntu1.1USN-6017-2
libgs10Ubuntu
Fixed in:10.0.0~dfsg1-0ubuntu1.1USN-6017-2
libgs9Ubuntu
Fixed in:9.26~dfsg+0-0ubuntu0.16.04.14+esm5USN-6017-1
Fixed in:9.26~dfsg+0-0ubuntu0.18.04.18USN-6017-1
Fixed in:9.50~dfsg-5ubuntu4.7USN-6017-1
Fixed in:9.55.0~dfsg1-0ubuntu5.2USN-6017-1
Fixed in:9.56.1~dfsg1-0ubuntu3.1USN-6017-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 VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

6.34%probability of exploitation in 30 days
93rdpercentile

High risk: more likely to be exploited than 93% of all known CVEs.

References

Related Vulnerabilities

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

CVESeverityCVSSEPSSExploitedFix
CVE-2025-22457Critical9.0100%KEV + RansomFix
CVE-2025-0282Critical9.0100%KEV + Ransom-
CVE-2015-3113Critical9.8100%KEVFix
CVE-2021-20038Critical9.8100%KEV + Ransom-
CVE-2023-4863High8.8100%KEVFix
CVE-2020-16040Medium6.5100%-Fix
Embed a live status badge for CVE-2023-28879
CVE-2023-28879 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2023-28879"><img src="https://tridentstack.com/cve/badge/CVE-2023-28879.svg" alt="CVE-2023-28879"></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 2025-02-14.