Skip to content

CVE-2026-103226 Artifex Ghostscript Pdfwrite gdevpsfx.c type1_callsubr stack-based overflow

MediumCVSS 5.3 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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."

Upgrade path

13 packages: 10 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat/ghostscript(Red Hat rhel_els 6) All versions No fix listed No fix yet
redhat/ghostscript(Red Hat rhel_els 7) All versions No fix listed No fix yet
debian/ghostscript(Debian 12) < 10.0.0~dfsg-11+deb12u9; = 10.0.0~dfsg-11; = 10.0.0~dfsg-11+deb12u1; = 10.0.0~dfsg-11+deb12u2 +6 more 10.0.0~dfsg-11+deb12u9 Fixed
debian/ghostscript(Debian 13) < 10.05.1~dfsg-1+deb13u3; = 10.05.1~dfsg-1; = 10.05.1~dfsg-1+deb13u1; = 10.05.1~dfsg-1+deb13u2 10.05.1~dfsg-1+deb13u3 Fixed
debian/ghostscript(Debian 14) < 10.08.0~dfsg-1; = 10.05.1~dfsg-1; = 10.05.1~dfsg-2; = 10.05.1~dfsg-3 +6 more 10.08.0~dfsg-1 Fixed
redhat/ghostscript(Red Hat enterprise_linux 10.2) < 10.02.1-16.el10_2.3 10.02.1-16.el10_2.3 Fixed
redhat/ghostscript(Red Hat enterprise_linux 8) < 9.27-19.el8_10 9.27-19.el8_10 Fixed
redhat/ghostscript(Red Hat enterprise_linux 9) < 9.54.0-19.el9_8.3 9.54.0-19.el9_8.3 Fixed
ubuntu/ghostscript(Ubuntu 22.04) < 9.55.0~dfsg1-0ubuntu5.15 9.55.0~dfsg1-0ubuntu5.15 Fixed
ubuntu/ghostscript(Ubuntu 24.04) < 10.02.1~dfsg1-0ubuntu7.10 10.02.1~dfsg1-0ubuntu7.10 Fixed
ubuntu/ghostscript(Ubuntu 26.04) < 10.06.0~dfsg-3ubuntu1.2 10.06.0~dfsg-3ubuntu1.2 Fixed
ubuntu/ghostscript(Ubuntu 26.10) < 10.07.1~dfsg-1ubuntu2.1 10.07.1~dfsg-1ubuntu2.1 Fixed
artifex ghostscript = 10.07 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
redhat/ghostscript(Red Hat:enterprise_linux:10.2) < 10.02.1-16.el10_2.3 10.02.1-16.el10_2.3
redhat/ghostscript(Red Hat:enterprise_linux:8) < 9.27-19.el8_10 9.27-19.el8_10
redhat/ghostscript(Red Hat:enterprise_linux:9) < 9.54.0-19.el9_8.3 9.54.0-19.el9_8.3
redhat/ghostscript(Red Hat:rhel_els:6) All versions No fix listed
redhat/ghostscript(Red Hat:rhel_els:7) All versions No fix listed
artifex ghostscript = 10.07 No fix listed
ubuntu/ghostscript(Ubuntu:22.04) < 9.55.0~dfsg1-0ubuntu5.15 9.55.0~dfsg1-0ubuntu5.15
ubuntu/ghostscript(Ubuntu:24.04) < 10.02.1~dfsg1-0ubuntu7.10 10.02.1~dfsg1-0ubuntu7.10
ubuntu/ghostscript(Ubuntu:26.04) < 10.06.0~dfsg-3ubuntu1.2 10.06.0~dfsg-3ubuntu1.2
ubuntu/ghostscript(Ubuntu:26.10) < 10.07.1~dfsg-1ubuntu2.1 10.07.1~dfsg-1ubuntu2.1
debian/ghostscript(Debian:12) < 10.0.0~dfsg-11+deb12u9 10.0.0~dfsg-11+deb12u9
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u1 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u2 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u3 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u4 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u5 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u6 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u7 No fix listed
debian/ghostscript(Debian:12) = 10.0.0~dfsg-11+deb12u8 No fix listed
debian/ghostscript(Debian:13) < 10.05.1~dfsg-1+deb13u3 10.05.1~dfsg-1+deb13u3
debian/ghostscript(Debian:13) = 10.05.1~dfsg-1 No fix listed
debian/ghostscript(Debian:13) = 10.05.1~dfsg-1+deb13u1 No fix listed
debian/ghostscript(Debian:13) = 10.05.1~dfsg-1+deb13u2 No fix listed
debian/ghostscript(Debian:14) < 10.08.0~dfsg-1 10.08.0~dfsg-1
Show 9 more
ProductAffected versionsFixed in
debian/ghostscript(Debian:14) = 10.05.1~dfsg-1 No fix listed
debian/ghostscript(Debian:14) = 10.05.1~dfsg-2 No fix listed
debian/ghostscript(Debian:14) = 10.05.1~dfsg-3 No fix listed
debian/ghostscript(Debian:14) = 10.06.0~dfsg-1 No fix listed
debian/ghostscript(Debian:14) = 10.06.0~dfsg-2 No fix listed
debian/ghostscript(Debian:14) = 10.06.0~dfsg-3 No fix listed
debian/ghostscript(Debian:14) = 10.07.0~dfsg-1 No fix listed
debian/ghostscript(Debian:14) = 10.07.0~dfsg-2 No fix listed
debian/ghostscript(Debian:14) = 10.07.1~dfsg-1 No fix listed

References