CVE-2023-28879

ghostscript: buffer overflow in base/sbcp.c leading to data corruption

Published Mar 31, 2023 CVSS 3.1 · 9.8 Critical EPSS 6.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3381-1 ghostscript security update
Debian DSA Debian DSA DSA-5383-1 ghostscript security update
Ubuntu USN Ubuntu USN USN-6017-1 Ghostscript vulnerability
Ubuntu USN Ubuntu USN USN-6017-2 Ghostscript vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Feb 14, 2025, 7:29 PM
Reserved
Mar 27, 2023, 12:00 AM
Status
Modified
Published
Mar 31, 2023, 5:15 PM
Modified
Jun 17, 2026, 5:48 AM
Severity
Moderate
Public date
Mar 31, 2023, 12:00 AM