Description
An issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. There is a buffer overflow during handling of a PDF XRef stream (related to W array values).
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.04.0~dfsg-1 | — |
| Debian 13 | ghostscript | 10.04.0~dfsg-1 | — |
| Debian 12 | ghostscript | 10.0.0~dfsg-11+deb12u6 | DSA-5808-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.4 | USN-7103-1 |
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.10 | USN-7103-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.14 | USN-7103-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | libgs +6 | 10.02.1-15.el10_0 | RHSA-2025:7499 |
| RHEL 9 | libgs +7 | 9.54.0-18.el9_6 | RHSA-2025:7422 |
| RHEL 8 | libgs +7 | 9.27-16.el8_10 | RHSA-2025:4362 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libgs +7 | 9.54.0-18.el9_6 | ALSA-2025:7422 |
| AlmaLinux 8 | libgs +7 | 9.27-16.el8_10 | ALSA-2025:4362 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | ghostscript | 9.27-16.el8_10 | RLSA-2025:4362 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 10.04.0-1.1 | openSUSE-SU-2024:14423-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ghostscript | 10.04.0-r0 | — |
| Alpine v3.23 | ghostscript | 10.04.0-r0 | — |
| Alpine v3.22 | ghostscript | 10.04.0-r0 | — |
| Alpine v3.21 | ghostscript | 10.04.0-r0 | — |
| Alpine v3.20 | ghostscript | 10.04.0-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ghostscript | 10.04.0-r0 | — |
| Alpine v3.18 | ghostscript | 10.04.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libgs +8 | 9.56.1-7.amzn2023.0.11 | ALAS2023-2024-774 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | libgs +6 | 10.02.1-16.el10_0 | ELSA-2025-7499 |
| Oracle Linux 9 | libgs +7 | 9.54.0-18.el9_6 | ELSA-2025-7422 |
| Oracle Linux 8 | libgs +7 | 9.27-16.el8_10 | ELSA-2025-4362 |
Advisories 14
- ALSA-2025:7422 Moderate: ghostscript security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:4362 Moderate: ghostscript security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:4362 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2025:7422 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2025:7499 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-7103-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5808-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:14423-1 ghostscript-10.04.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2025:4362 Moderate: ghostscript security update Rocky Linux Security Advisories · Jul 29, 2025
- WID-SEC-2024-3373 Ghostscript: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2025
- ELSA-2025-7499 Moderate: ghostscript security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jun 30, 2025
- ELSA-2025-7422 Moderate: ghostscript security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 21, 2025
- ELSA-2025-4362 Moderate: ghostscript security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 30, 2025
- ALAS2023-2024-774 Important: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 16, 2024