Buffer overflow in Artifex Ghostscript
CVE-2026-103226
A vulnerability was identified in Artifex Ghostscript up to 10.07.0. Affected is the function type1_callsubr 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. Upgrading to version 10.08.0 is able to address this issue. It is suggested to upgrade the affected component. 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."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 25.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Artifex Ghostscript — versions 10.07, 10.09
Weakness classification (CWE)
References
- VDB-411906 | Artifex Ghostscript Pdfwrite gdevpsfx.c type1_callsubr stack-based overflow (technical-description, vdb-entry)
- VDB-411906 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- CVE-2026-103226 | CVE Analysis and Report (third-party-advisory)
- Submit #955016 | Artifex Software Ghostscript (GhostPDL) 8.00 (2002) up to 10.09.0 / master (2026-08-21) Stack-based Buffer Overflow (third-party-advisory)
- bugs.ghostscript.com/show_bug.cgi (issue-tracking)
- bugs.ghostscript.com/show_bug.cgi (issue-tracking)
- bugs.ghostscript.com/attachment.cgi (exploit)
- artifex.com/ (product)
- ghostscript.com/releases/gsdnld.html (patch)