VDB

CVE-2023-28879

CVE-2023-28879 PUBLISHED CVSS 9.8 CRITICAL

Reported by mitre · Published March 31, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ghostscript-tools-dvipdfAmazon Linux9.56.1-7.amzn2023.0.1
ghostscript-docAmazon Linux9.56.1-7.amzn2023.0.1, 9.25-5.amzn2.0.3

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2023ghostscript-tools-dvipdf0
amazon:2ghostscript-doc0
amazon:2023ghostscript-doc0
amazon:2ghostscript-gtk0
amazon:2023ghostscript-tools-fonts0
amazon:2023ghostscript-tools-printing0
amazon:2023libgs0
amazon:2023ghostscript-x110
alpineghostscript0, 0, 0
amazon:2libgs0
n/an/a*
amazon:2ghostscript-cups0
amazon:2023ghostscript0
amazon:2023ghostscript-gtk0
amazon:2libgs-devel0
amazon:2023libgs-devel0
amazon:2ghostscript0

Timeline

  • Mar 31, 2023 CVE Published
  • Mar 31, 2023 PoC Published (5 in total, the first dated here)
  • Apr 1, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (8 in total, the first dated here)
  • Mar 10, 2026 Distribution Patch (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-28879
vulnetix vdb fixes CVE-2023-28879

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-28879/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›