Description
Artifex Ghostscript before 10.03.0 has a stack-based buffer overflow in the pdfi_apply_filter() function via a long PDF filter name.
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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.3 | USN-6897-1 |
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.9 | USN-6897-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.13 | USN-6897-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libgs +8 | 9.56.1-7.amzn2023.0.9 | ALAS2023-2024-692 |
Advisories 4
- 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
- WID-SEC-2024-1525 Ghostscript: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 8, 2025
- ALAS2023-2024-692 Moderate: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 6, 2024