Description
An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. There is an out-of-bounds read when reading color in Indexed color space.
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 |
| Debian 11 | ghostscript | 9.53.3~dfsg-7+deb11u9 | DLA-3965-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 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.18+esm3 | USN-7138-1 |
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm8 | USN-7138-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLES 15 SP5 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLES 15 SP4 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLES 15 SP3 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLES 15 SP2 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | ghostscript | 9.52-23.86.1 | SUSE-SU-2024:3942-1 |
| SLES for SAP 15 SP4 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLES for SAP 15 SP3 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLES for SAP 15 SP2 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLE HPC 15 SP4 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLE HPC 15 SP3 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SLE HPC 15 SP2 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE Manager Server 4.3 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE Manager Proxy 4.3 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| SUSE Enterprise Storage 7.1 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 10.04.0-1.1 | openSUSE-SU-2024:14423-1 |
| openSUSE Leap 15.6 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-1 |
| openSUSE Leap 15.5 | ghostscript | 9.52-150000.200.1 | SUSE-SU-2024:3941-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.12 | ALAS2023-2025-856 |
| Amazon Linux 2 | libgs +5 | 9.54.0-9.amzn2.0.8 | ALAS2-2025-2760 |
Advisories 10
- USN-7138-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 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
- DLA-3965-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:3941-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3942-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14423-1 ghostscript-10.04.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-3373 Ghostscript: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2025
- ALAS2-2025-2760 Moderate: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 25, 2025
- ALAS2023-2025-856 Moderate: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 21, 2025
References
- https://bugs.ghostscript.com/show_bug.cgi?id=707990
- https://github.com/ArtifexSoftware/ghostpdl/blob/master/doc/News.html
- https://www.suse.com/support/update/announcement/2024/suse-su-20243942-1/
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=85bd9d2f4b792fe67aef22f1a4117457461b8ba6