Description
Artifex Ghostscript before 10.03.0 has a heap-based pointer disclosure (observable in a constructed BaseFont name) in the function pdf_base_font_alloc.
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.03.0~dfsg-1 | — |
| Debian 13 | ghostscript | 10.03.0~dfsg-1 | — |
| Debian 12 | ghostscript | 10.0.0~dfsg-11+deb12u5 | DSA-5760-1 |
| Debian 11 | ghostscript | 9.53.3~dfsg-7+deb11u8 | DLA-3931-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.3 | USN-7623-1, USN-6897-1 |
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.9 | USN-7623-1, USN-6897-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.13 | USN-6897-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+esm1 | USN-7623-1 |
| Ubuntu Pro 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.18+esm4 | USN-7623-1 |
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm9 | USN-7623-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | ghostscript | 9.52-150000.197.1 | SUSE-SU-2024:2627-1 |
| SLES 15 SP5 | ghostscript | 9.52-150000.197.1 | SUSE-SU-2024:2627-1 |
| SLES 12 SP5 | ghostscript | 9.52-23.83.1 | SUSE-SU-2024:2547-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | ghostscript | 9.52-23.83.1 | SUSE-SU-2024:2547-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | ghostscript | 9.52-150000.197.1 | SUSE-SU-2024:2627-1 |
| openSUSE Leap 15.5 | ghostscript | 9.52-150000.197.1 | SUSE-SU-2024:2627-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libgs +8 | 9.56.1-7.amzn2023.0.9 | ALAS2023-2024-692 |
| Amazon Linux 2 | libgs +5 | 9.54.0-9.amzn2.0.5 | ALAS2-2024-2614 |
Advisories 9
- USN-7623-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-6897-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5760-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3931-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:2627-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2547-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1525 Ghostscript: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 8, 2025
- ALAS2-2024-2614 Moderate: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 13, 2024
- ALAS2023-2024-692 Moderate: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 6, 2024