REDHAT-BUG-2543939: Buffer Overflow
A vulnerability was identified in Artifex Ghostscript up to 10.09.0. Affected is the function type1callsubr of the file devices/vector/gdevpsfx.c of the component Pdfwrite. The manipulation leads to stack-based buffer overflow. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. It is suggested to install a patch to address this issue. A solution was implemented: "I've chosen to fix this slightly differently by using the defined macro in the font parsing loop rather than in the callsubr function, because this better matches the pattern of 'normal' usage."
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using Artifex Ghostscript up to version 10.09.0 are affected when the Pdfwrite component processes input that reaches the vulnerable Type 1 font handling code.
Can this be exploited remotely, and is exploit code available?
Yes. Remote exploitation is possible, and a public exploit is available, increasing the likelihood that the issue could be used in attacks.
What is the recommended remediation?
Install the applicable vendor patch. Red Hat has published fixes in RHSA-2026:83551, RHSA-2026:83552, and RHSA-2026:83553.