CVE-2023-28879
A public proof of concept exists; no exploitation attested.
- Published2023-03-31
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2023-03-3117:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-28879?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-28879?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.1 | < 10.01.0 | 10.01.0 | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ghostscriptUbuntu:Pro:16.04:LTSall versions · fixed in 9.26~dfsg+0-0ubuntu0.16.04.14+esm5
- ghostscriptUbuntu:22.04:LTSall versions · fixed in 9.55.0~dfsg1-0ubuntu5.2
- ghostscriptUbuntu:20.04:LTSall versions · fixed in 9.50~dfsg-5ubuntu4.7
- ghostscriptUbuntu:18.04:LTSall versions · fixed in 9.26~dfsg+0-0ubuntu0.18.04.18
- ghostscriptTuxCare:RHEL:7all versions · fixed in 9.25-5.0.1.el7.tuxcare.els2and 5 other packages
- ghostscriptTuxCare:OracleLinux:7all versions · fixed in 9.25-5.0.1.el7.tuxcare.els2and 5 other packages
- ghostscriptTuxCare:CentOS:8.5all versions · fixed in 9.27-1.el8_5.tuxcare.els1and 8 other packages
- ghostscriptTuxCare:CentOS:7all versions · fixed in 9.25-5.0.1.el7.tuxcare.els2and 5 other packages
49 more package ranges on OSV.dev
Vendor advisories
ghostscript: buffer overflow in base/sbcp.c leading to data corruption
ghostscript as a component of Red Hat Enterprise Linux 6 · ghostscript-devel as a component of Red Hat Enterprise Linux 6 · ghostscript-doc as a component of Red Hat Enterprise Linux 6 · +19 more
Red Hat Security Advisory: ghostscript security and bug fix update
Red Hat Security Advisory: ghostscript security and bug fix update
Fix
- Vendor fix Red Hat Product Security RHSA-2023:7053 · 82 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix planned, says the vendor Red Hat Product Security CVE-2023-28879 · 13 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2023-28879 · 9 productsWill not fix
Advisories and patches
- bugs.ghostscript.comVendor Advisory
- ghostscript.readthedocs.ioRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-02-14
- OpenCVESSVC decisionpoc—
- CISA-ADPCVSS 3.19.82025-02-14
- NVDCVSS 3.19.8read 2026-10-23
- CISA-ADPweakness (CWE)CWE-7872025-02-14
- NVDweakness (CWE)CWE-787read 2026-10-23
- FIRST EPSSEPSS score6.3 %2026-11-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2023-32499same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-6mcj-frmm-wmr5same flawGitHub Advisory Database · CC-BY-4.0
- ALSA-2023:6544advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:7053advisory covering several CVEsAlmaLinux · MIT
- DLA-3381-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5383-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0134advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2023-1604advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1605advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1606advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1607advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2023-1608advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12853-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:6544advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:7053advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2023:1797-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:1799-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-6017-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-03-31
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-6mcj-frmm-wmr5
Frequently asked questions
What is CVE-2023-28879?
Is CVE-2023-28879 actively exploited?
What is the CVSS score for CVE-2023-28879?
Running ghostscript? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6mcj-frmm-wmr5
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0