CVE-2023-28879: In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data int
CVE-2023-28879 is a critical-severity flaw (CVSS 9.8) affecting ghostscript, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 6%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 6.3% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2023-03-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-28879?
ghostscript: upgrade to 10.01.0; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-28879 being exploited?
CVE-2023-28879 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-28879 affect?
CVE-2023-28879 affects ghostscript, debian linux. Severity is critical (CVSS 9.8). 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 b
How urgent is CVE-2023-28879?
Priority 76/100. Critical severity; EPSS top 6%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Debian vulnerabilities · Ghostscript vulnerabilities
Related CVEs
- CVE-2023-36664 HIGH 7.8 UPGRADE MITIGATE Artifex Ghostscript before 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix o
- CVE-2023-38559 MEDIUM 5.5 UPGRADE MITIGATE A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript
- CVE-2025-59800 MEDIUM 4.3 UPGRADE In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that le
- CVE-2025-59799 MEDIUM 4.3 UPGRADE Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector
- CVE-2025-59798 MEDIUM 4.3 UPGRADE Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdev