cve.bz

CVE-2023-28879 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 6.3%

Critical (9.8). EPSS 6.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
6.3% (unchanged from 6.3% a week ago; 6.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2025-02-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28879 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28879?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28879?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28879 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
artifex:ghostscriptbefore 10.01.0
debian:debian_linux10.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ghostscript9.27~dfsg-2+deb10u7DLA-3381-1
Debian11ghostscript9.53.3~dfsg-7+deb11u4DSA-5383-1
Debian12, 13, 14ghostscript10.0.0~dfsg-11DEBIAN-CVE-2023-28879
Ubuntu18.04:LTSghostscript9.26~dfsg+0-0ubuntu0.18.04.18UBUNTU-CVE-2023-28879 USN-6017-1
Ubuntu20.04:LTSghostscript9.50~dfsg-5ubuntu4.7UBUNTU-CVE-2023-28879 USN-6017-1
Ubuntu22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.2UBUNTU-CVE-2023-28879 USN-6017-1
UbuntuPro:16.04:LTSghostscript9.26~dfsg+0-0ubuntu0.16.04.14+esm5UBUNTU-CVE-2023-28879 USN-6017-1
Red Hatenterprise_linux:8::appstreamlibgs, ghostscript, ghostscript-x11 and 5 more0:9.27-11.el8RHSA-2023:7053
Red Hatenterprise_linux:8::crblibgs-devel, ghostscript-doc, libgs-debuginfo and 7 more0:9.27-11.el8RHSA-2023:7053
Red Hatenterprise_linux:9::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-13.el9RHSA-2023:6544
Red Hatenterprise_linux:9::crbghostscript, libgs-devel, libgs-debuginfo and 6 more0:9.54.0-13.el9RHSA-2023:6544
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 13 moreghostscript9.52-150000.164.1SUSE-SU-2023:1799-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS and 6 moreghostscript9.52-23.51.1SUSE-SU-2023:1797-1
openSUSELeap 15.4ghostscript9.52-150000.164.1SUSE-SU-2023:1799-1
openSUSETumbleweedghostscript9.56.1-2.1openSUSE-SU-2024:12853-1
AlmaLinux8libgs, ghostscript, libgs-devel and 5 more9.27-11.el8ALSA-2023:7053
AlmaLinux9libgs, ghostscript, libgs-devel and 5 more9.54.0-13.el9ALSA-2023:6544
Alpinev3.14ghostscript9.54.0-r2ALPINE-CVE-2023-28879
Alpinev3.15ghostscript9.55.0-r1ALPINE-CVE-2023-28879
Alpinev3.16ghostscript9.56.1-r1ALPINE-CVE-2023-28879
Alpinev3.17ghostscript10.0.0-r1ALPINE-CVE-2023-28879

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ghostscript-0:9.27-11.el8Fixed 2023-11-14RHSA-2023:7053
Red Hat Enterprise Linux 9ghostscript-0:9.54.0-13.el9Fixed 2023-11-07RHSA-2023:6544
Red Hat Enterprise Linux 6ghostscriptOut of support scope
Red Hat Enterprise Linux 7ghostscriptOut of support scope
Red Hat Enterprise Linux 8gimp:flatpak/ghostscriptWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28879.

References

Check your stackJSON