JLSEC-2026-1468: Buffer Overflow
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/Ghostscript_jllto a version that resolves this vulnerability.Fixed in 10.8.0+0
Event History
Frequently Asked Questions
What input would need to be processed to trigger the overflow?
An attacker would need to cause Ghostscript to use BCPEncode, BCPDecode, TBCPEncode, or TBCPDecode with a write buffer that is one byte short of full, followed by an escaped character. Under those conditions, the operation writes two bytes and overruns the buffer.
Is authentication or user interaction required?
No. The supplied vector indicates network reachability, low attack complexity, no privileges required, and no user interaction required.
Which installations should be considered affected?
Ghostscript through version 10.01.0 is affected. The listed software component is julia/ghostscript_jll.