CVE-2023-28879
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Artifex Ghostscript
PublishedMar 31, 2023
First seenMar 31, 2023
Weakness typeCWE-787Out-of-bounds write
How to fix
Update
- artifex ghostscript10.01.0 or later
Vendor advisories
- debian.org/security/2023/dsa-5383
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CI6UCKM3XMK7PYNIRGAVDJ5VKN6XYZOE/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DHJX62KSRIOBZA6FKONMJP7MEFY7LTH2/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MADLP3GWJFLLFVNZGEDNPMDQR6CCXAHN/
- security.gentoo.org/glsa/202309-03
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| artifex ghostscript | v < 10.01.0 | 10.01.0 |
| debian debian_linux | 10.0, 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.