# CVE-2023-28879

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2023-03-31 · Modified: 2025-02-14
- Aliases: ALPINE-CVE-2023-28879, MGASA-2023-0134, SUSE-SU-2023:1797-1, SUSE-SU-2023:1799-1, UBUNTU-CVE-2023-28879, USN-6017-1, DEBIAN-CVE-2023-28879, DLA-3381-1, DSA-5383-1, openSUSE-SU-2024:12853-1
- Record: https://cvemate.com/vulnerability/CVE-2023-28879 · JSON: https://cvemate.com/vulnerability/CVE-2023-28879/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 6.341%, percentile 93.816%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 33)

- alpine ghostscript (Alpine Linux): \< 9.54.0-r2 \| \< 9.55.0-r1 \| \< 9.56.1-r1 \| \< 10.0.0-r1
- artifex ghostscript: \< 10.01.0
- debian ghostscript (Debian): \< 10.0.0~dfsg-11 \| \< 9.27~dfsg-2+deb10u7 \| \< 9.53.3~dfsg-7+deb11u4
- ubuntu ghostscript (Ubuntu): \< 9.26~dfsg+0-0ubuntu0.16.04.14+esm5 \| \< 9.26~dfsg+0-0ubuntu0.18.04.18 \| \< 9.50~dfsg-5ubuntu4.7 \| \< 9.55.0~dfsg1-0ubuntu5.2
- debian debian\_linux: 10.0 \| 11.0
- mageia ghostscript (Mageia): \< 9.53.3-2.4.mga8
- opensuse ghostscript&distro=openSUSE Leap 15.4 (openSUSE): \< 9.52-150000.164.1
- opensuse ghostscript&distro=openSUSE Tumbleweed (openSUSE): \< 9.56.1-2.1
- suse ghostscript&distro=SUSE Enterprise Storage 7 (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4 (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Linux Enterprise Real Time 15 SP3 (SUSE Linux Enterprise): \< 9.52-150000.164.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 12 SP2-BCL (SUSE Linux Enterprise): \< 9.52-23.51.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 12 SP4-ESPOS (SUSE Linux Enterprise): \< 9.52-23.51.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 12 SP4-LTSS (SUSE Linux Enterprise): \< 9.52-23.51.1
- suse ghostscript&distro=SUSE Linux Enterprise Server 12 SP5 (SUSE Linux Enterprise): \< 9.52-23.51.1

## References (first 20 of 27)

- <https://bugs.ghostscript.com/show_bug.cgi?id=706494>
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=37ed5022cecd584de868933b5b60da2e995b3179>
- <https://ghostscript.readthedocs.io/en/latest/News.html>
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00003.html>
- <https://www.debian.org/security/2023/dsa-5383>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CI6UCKM3XMK7PYNIRGAVDJ5VKN6XYZOE/>
- <http://www.openwall.com/lists/oss-security/2023/04/12/4>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DHJX62KSRIOBZA6FKONMJP7MEFY7LTH2/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MADLP3GWJFLLFVNZGEDNPMDQR6CCXAHN/>
- <https://security.gentoo.org/glsa/202309-03>
- <https://security.alpinelinux.org/vuln/CVE-2023-28879>
- <https://advisories.mageia.org/MGASA-2023-0134.html>
- <https://bugs.mageia.org/show_bug.cgi?id=31758>
- <https://www.debian.org/lts/security/2023/dla-3381>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20231797-1/>
- <https://bugzilla.suse.com/1210062>
- <https://www.suse.com/security/cve/CVE-2023-28879>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20231799-1/>
- <https://ubuntu.com/security/CVE-2023-28879>
- <https://artifex.com/news/critical-security-vulnerability-fixed-in-ghostscript>

---

Data as of 2026-12-05T08:54:14.781Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
