Description
Artifex Ghostscript before 9.53.0 has an out-of-bounds write and use-after-free in devices/vector/gdevtxtw.c (for txtwrite) because a single character code in a PDF document can map to more than one Unicode code point (e.g., for a ligature).
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.53.0~dfsg-1 | — |
| Debian 13 | ghostscript | 9.53.0~dfsg-1 | — |
| Debian 12 | ghostscript | 9.53.0~dfsg-1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | ghostscript | 9.52-150000.185.1 | SUSE-SU-2024:0920-1 |
| SLES 12 SP5 | ghostscript | 9.52-23.71.1 | SUSE-SU-2024:0921-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.71.1 | SUSE-SU-2024:0921-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | ghostscript | 9.52-150000.185.1 | SUSE-SU-2024:0920-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libgs +5 | 9.25-5.amzn2.0.9 | ALAS2-2024-2469 |
Advisories 4
- SUSE-SU-2024:0921-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0920-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0288 Ghostscript: Schwachstelle ermöglicht nicht spezifizierten Angriff BSI CERT-Bund (WID) · May 7, 2024
- ALAS2-2024-2469 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 19, 2024