Description
The mem_get_bits_rectangle function in base/gdevmem.c in Artifex Software, Inc. Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted file.
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.20~dfsg-3.1 | — |
| Debian 13 | ghostscript | 9.20~dfsg-3.1 | — |
| Debian 12 | ghostscript | 9.20~dfsg-3.1 | — |
| Debian 8 | ghostscript | 9.06~dfsg-2+deb8u5 | DSA-3838-1 |
| Debian 7 | ghostscript | 9.05~dfsg-6.3+deb7u5 | DLA-905-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | ghostscript | 9.18~dfsg~0-0ubuntu2.4 | USN-3272-1 |
| Ubuntu 14.04 LTS | ghostscript | 9.10~dfsg-0ubuntu10.7 | USN-3272-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | ghostscript | 9.15-20.1 | SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1 |
| SLES 12 SP1 | ghostscript | 9.15-20.1 | SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1 |
| SLES 12 | ghostscript | 9.15-22.1 | SUSE-SU-2017:1404-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | ghostscript | 9.15-20.1 | SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1 |
| SLES for SAP 12 SP1 | ghostscript | 9.15-20.1 | SUSE-SU-2017:1404-1, SUSE-SU-2017:1138-1 |
| SLES for SAP 12 | ghostscript | 9.15-22.1 | SUSE-SU-2017:1404-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 9.54.0-2.2 | openSUSE-SU-2024:10783-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | ghostscript | 9.21-r3 | — |
| Alpine v3.23 | ghostscript | 9.21-r3 | — |
| Alpine v3.22 | ghostscript | 9.21-r3 | — |
| Alpine v3.21 | ghostscript | 9.21-r3 | — |
| Alpine v3.20 | ghostscript | 9.21-r3 | — |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | ghostscript | 9.21-r3 | — |
| Alpine v3.18 | ghostscript | 9.21-r3 | — |
| Alpine v3.17 | ghostscript | 9.21-r3 | — |
| Alpine v3.16 | ghostscript | 9.21-r3 | — |
| Alpine v3.15 | ghostscript | 9.21-r3 | — |
| Alpine v3.14 | ghostscript | 9.21-r3 | — |
| Alpine v3.13 | ghostscript | 9.21-r3 | — |
| Alpine v3.12 | ghostscript | 9.21-r3 | — |
| Alpine v3.11 | ghostscript | 9.21-r3 | — |
| Alpine v3.10 | ghostscript | 9.21-r3 | — |
| Alpine v3.9 | ghostscript | 9.21-r3 | — |
| Alpine v3.8 | ghostscript | 9.21-r3 | — |
| Alpine v3.7 | ghostscript | 9.21-r3 | — |
| Alpine v3.5 | ghostscript | 9.21-r0 | — |
| Alpine v3.4 | ghostscript | 9.21-r0 | — |
| Alpine v3.3 | ghostscript | 9.21-r0 | — |
| Alpine v3.2 | ghostscript | 9.21-r0 | — |
Advisories 6
- USN-3272-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-905-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3838-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10783-1 ghostscript-9.54.0-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1404-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1138-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
References
- DSA-3838 vendor-advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697548
- 98665 vdb-entry
- GLSA-201708-06 vendor-advisory