CVE-2023-28879
- State
- Published
- Severity
- 9.8 Critical
- Published
- Mar 31, 2023
- Updated
- Feb 14, 2025
- Reserved
- Mar 27, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- 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
- [debian-lts-announce] 20230404 [SECURITY] [DLA 3381-1] ghostscript security updatemailing-list
- DSA-5383vendor-advisory
- FEDORA-2023-f51bc947bbvendor-advisory
- [oss-security] 20230412 Ghostscript CVE-2023-28879: "Shell in the Ghost"mailing-list
- FEDORA-2023-fbf86d8916vendor-advisory
- FEDORA-2023-366850fc87vendor-advisory
- GLSA-202309-03vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.