# CVE-2023-28879: In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript inter…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.34%, higher than 93% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-31T00:00:00.000Z
- Modified: 2026-06-17T05:48:58.520Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- artifex ghostscript: before 10.01.0
- debian debian_linux: 10.0; 11.0

## Every score

- CISA-ADP: 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`
- NVD: 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`

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=706494> (exploit, vendor-advisory)
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=37ed5022cecd584de868933b5b60da2e995b3179>
- <https://ghostscript.readthedocs.io/en/latest/News.html> (release-notes)
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00003.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2023/dsa-5383> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CI6UCKM3XMK7PYNIRGAVDJ5VKN6XYZOE/> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2023/04/12/4> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DHJX62KSRIOBZA6FKONMJP7MEFY7LTH2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MADLP3GWJFLLFVNZGEDNPMDQR6CCXAHN/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202309-03> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-28879](https://www.cve.org/CVERecord?id=CVE-2023-28879), CVE Terms of Use, modified 2025-02-14
- NVD: [CVE-2023-28879](https://nvd.nist.gov/vuln/detail/CVE-2023-28879), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-28879 · Whole record: https://cve.day/CVE-2023-28879.json · Rebuilt by cve.day 2026-11-25T22:58:22.924Z
