Description
Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Artifex | Ghostscript | ≤ 10.05.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ghostscript | 10.06.0~dfsg-1 | — |
| Debian 13 | ghostscript | 10.05.1~dfsg-1+deb13u1 | DSA-6024-1 |
| Debian 12 | ghostscript | 10.0.0~dfsg-11+deb12u8 | DSA-6024-1 |
| Debian 11 | ghostscript | 9.53.3~dfsg-7+deb11u11 | DLA-4330-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | ghostscript | 10.05.0dfsg1-0ubuntu4 | — |
| Ubuntu 24.04 LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.8 | USN-7782-1 |
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.13 | USN-7782-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.15+esm2 | USN-7904-1 |
| Ubuntu Pro 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.18+esm5 | USN-7904-1 |
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm10 | USN-7904-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ghostscript | 9.52-150000.211.1 | SUSE-SU-2025:4148-1 |
| SLES 15 SP6 | ghostscript | 9.52-150000.211.1 | SUSE-SU-2025:4148-1 |
| SLES 12 SP5 | ghostscript | 9.52-23.97.1 | SUSE-SU-2025:4125-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 10.06.0-2.1 | openSUSE-SU-2025:15707-1 |
| openSUSE Leap 16.0 | ghostscript | 10.06.0-160000.1.1 | openSUSE-SU-2026:20592-1 |
| openSUSE Leap 15.6 | ghostscript | 9.52-150000.211.1 | SUSE-SU-2025:4148-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ghostscript | 10.06.0-r0 | — |
| Alpine v3.23 | ghostscript | 10.06.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libgs +8 | 9.56.1-7.amzn2023.0.19 | ALAS2023-2025-1218 |
| Amazon Linux 2 | libgs +5 | 9.54.0-9.amzn2.0.13 | ALAS2-2025-3018 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ghostscript +2 | 10.07.0-r0 | — |
Advisories 11
- USN-7904-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- WID-SEC-2025-2101 Ghostscript: Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Apr 28, 2026
- USN-7782-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2026:20592-1 Security update for ghostscript SUSE / openSUSE Security Updates · Apr 23, 2026
- openSUSE-SU-2025:15707-1 ghostscript-10.06.0-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4125-1 Security update for ghostscript SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4148-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2025-3018 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 14, 2025
- ALAS2023-2025-1218 Important: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 14, 2025
- DLA-4330-1 ghostscript - security update Debian Security (DSA / DLA) · Oct 14, 2025
- DSA-6024-1 ghostscript - security update Debian Security (DSA / DLA) · Oct 11, 2025