CVE-2026-103226Artifex Ghostscript Pdfwrite gdevpsfx.c type1_callsubr stack-based overflow
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."
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ghostscript | Fixed | 10.07.1~dfsg-1ubuntu2.1 | UBUNTU-CVE-2026-103226 |
| Ubuntu 26.04 | ghostscript | Fixed | 10.06.0~dfsg-3ubuntu1.2 | UBUNTU-CVE-2026-103226 |
| Ubuntu 24.04 | ghostscript | Fixed | 10.02.1~dfsg1-0ubuntu7.10 | UBUNTU-CVE-2026-103226 |
| Ubuntu 22.04 | ghostscript | Fixed | 9.55.0~dfsg1-0ubuntu5.15 | UBUNTU-CVE-2026-103226 |
| Ubuntu 20.04 | ghostscript | Fix pending | 9.50~dfsg-5ubuntu4.15+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-103226 |
| Ubuntu 18.04 | ghostscript | Fix pending | 9.26~dfsg+0-0ubuntu0.18.04.18+esm6 (Ubuntu Pro) | UBUNTU-CVE-2026-103226 |
| Ubuntu 16.04 | ghostscript | Fix pending | 9.26~dfsg+0-0ubuntu0.16.04.14+esm11 (Ubuntu Pro) | UBUNTU-CVE-2026-103226 |
| Debian 14 | ghostscript | Fixed | 10.08.0~dfsg-1 | DEBIAN-CVE-2026-103226 |
| Debian 13 | ghostscript | Fixed | 10.05.1~dfsg-1+deb13u3 | DEBIAN-CVE-2026-103226 |
| Debian 12 | ghostscript | Fixed | 10.0.0~dfsg-11+deb12u9 | DEBIAN-CVE-2026-103226 |
| Red Hat Enterprise Linux 10 | ghostscript | Fixed | 0:10.02.1-16.el10_2.3 | RHSA-2026:83551 |
| Red Hat Enterprise Linux 10 | libgs | Fixed | 0:10.02.1-16.el10_2.3 | RHSA-2026:83551 |
| Red Hat Enterprise Linux 9 | ghostscript | Fixed | 0:9.54.0-19.el9_8.3 | RHSA-2026:83553 |
| Red Hat Enterprise Linux 9 | libgs | Fixed | 0:9.54.0-19.el9_8.3 | RHSA-2026:83553 |
| Red Hat Enterprise Linux 8 | ghostscript | Fixed | 0:9.27-19.el8_10 | RHSA-2026:83552 |
| Red Hat Enterprise Linux 8 | libgs | Fixed | 0:9.27-19.el8_10 | RHSA-2026:83552 |
| Red Hat Enterprise Linux 7 | ghostscript | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ghostscript-cups | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ghostscript-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ghostscript-doc | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | ghostscript-gtk | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libgs | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libgs-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ghostscript | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ghostscript-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ghostscript-doc | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | ghostscript-gtk | Fix pending Affected | ||
| AlmaLinux 10 | ghostscript-doc | Fixed | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux 10 | ghostscript-tools-dvipdf | Fixed | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux 10 | ghostscript-tools-fonts | Fixed | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux 10 | ghostscript-tools-printing | Fixed | 10.02.1-16.el10_2.3 | ALSA-2026:83551 |
| AlmaLinux 9 | ghostscript | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 9 | ghostscript-doc | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 9 | ghostscript-tools-dvipdf | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 9 | ghostscript-tools-fonts | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 9 | ghostscript-tools-printing | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 9 | ghostscript-x11 | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 9 | libgs | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 9 | libgs-devel | Fixed | 9.54.0-19.el9_8.3 | ALSA-2026:83553 |
| AlmaLinux 8 | ghostscript | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux 8 | ghostscript-doc | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux 8 | ghostscript-tools-dvipdf | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux 8 | ghostscript-tools-fonts | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux 8 | ghostscript-tools-printing | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux 8 | ghostscript-x11 | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux 8 | libgs | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| AlmaLinux 8 | libgs-devel | Fixed | 9.27-19.el8_10 | ALSA-2026:83552 |
| Rocky Linux 10 | ghostscript | Fixed | 0:10.02.1-16.el10_2.3 | RLSA-2026:83551 |
| Rocky Linux 9 | ghostscript | Fixed | 0:9.54.0-19.el9_8.3 | RLSA-2026:83553 |
| Rocky Linux 8 | ghostscript | Fixed | 0:9.27-19.el8_10 | RLSA-2026:83552 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Artifex Ghostscript: affected: 10.07, 10.08.0 not affected
Vendor advisories:
References
- https://vuldb.com/vuln/411906
- https://vuldb.com/vuln/411906/cti
- https://vuldb.com/cve/CVE-2026-103226
- https://vuldb.com/submit/955016
- https://bugs.ghostscript.com/show_bug.cgi?id=709672
- https://bugs.ghostscript.com/show_bug.cgi?id=709672#c3
- https://bugs.ghostscript.com/attachment.cgi?id=28495
- https://ghostscript.com/releases/gsdnld.html
- https://artifex.com/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.