Vulnerability · Published Sep 30, 2026 · Assigned by VulDB
CVE-2026-103226Artifex Ghostscript Pdfwrite gdevpsfx.c type1_callsubr stack-based overflow
Medium 6.3
In plain English
A medium-severity stack buffer overflow in Ghostscript from Artifex. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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."
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | ghostscript | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-doc | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-doc | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-doc | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-tools-dvipdf | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-tools-dvipdf | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-tools-dvipdf | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-tools-fonts | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-tools-fonts | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-tools-fonts | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | ghostscript-tools-printing | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | ghostscript-tools-printing | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-tools-printing | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:8 | ghostscript-x11 | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | ghostscript-x11 | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | libgs | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | libgs | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | libgs | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux:10 | libgs-devel | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux:8 | libgs-devel | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux:9 | libgs-devel | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| Debian:12 | ghostscript | no fix listed | DEBIAN-CVE-2026-103226 |
| Debian:13 | ghostscript | 10.05.1~dfsg-1+deb13u3 | DEBIAN-CVE-2026-103226 |
| Debian:14 | ghostscript | 10.08.0~dfsg-1 | DEBIAN-CVE-2026-103226 |
| Rocky Linux:10 | ghostscript | 0:10.02.1-16.el10_2.3 | RLSA-2026:83551 |
| Rocky Linux:8 | ghostscript | 0:9.27-19.el8_10 | RLSA-2026:83552 |
| Rocky Linux:9 | ghostscript | 0:9.54.0-19.el9_8.3 | RLSA-2026:83553 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.15 | UBUNTU-CVE-2026-103226 |
| Ubuntu:22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.15 | USN-8949-1 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.10 | UBUNTU-CVE-2026-103226 |
| Ubuntu:24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.10 | USN-8949-1 |
| Ubuntu:26.04:LTS | ghostscript | 10.06.0~dfsg-3ubuntu1.2 | UBUNTU-CVE-2026-103226 |
| Ubuntu:26.04:LTS | ghostscript | 10.06.0~dfsg-3ubuntu1.2 | USN-8949-1 |
| Ubuntu:26.10 | ghostscript | 10.07.1~dfsg-1ubuntu2.1 | UBUNTU-CVE-2026-103226 |
| Ubuntu:26.10 | ghostscript | 10.07.1~dfsg-1ubuntu2.1 | USN-8949-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Artifex | Ghostscript | 10.07 |
Weakness: CWE-121, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-411906 | Artifex Ghostscript Pdfwrite gdevpsfx.c type1_callsubr stack-based overflow vdb-entry, technical-description
- 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
- https://bugs.ghostscript.com/show_bug.cgi?id=709672 issue-tracking
- https://bugs.ghostscript.com/show_bug.cgi?id=709672#c3 issue-tracking
- https://bugs.ghostscript.com/attachment.cgi?id=28495 exploit
- https://ghostscript.com/releases/gsdnld.html patch
- https://artifex.com/ product