Description
Buffer Overflow vulnerability in clj_media_size function in devices/gdevclj.c in Artifex Ghostscript 9.50 allows remote attackers to cause a denial of service or other unspecified impact(s) via opening of crafted PDF document.
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 | 9.51~dfsg-1 | — |
| Debian 13 | ghostscript | 9.51~dfsg-1 | — |
| Debian 12 | ghostscript | 9.51~dfsg-1 | — |
| Debian 10 | ghostscript | 9.27~dfsg-2+deb10u9 | DLA-3582-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.10 | USN-6364-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+esm2 | USN-6364-1 |
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm7 | USN-6364-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libgs +5 | 9.25-5.amzn2.0.5 | ALAS2-2023-2258 |
Advisories 4
- USN-6364-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3582-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2023-2353 Ghostscript: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 21, 2024
- ALAS2-2023-2258 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Sep 20, 2023