Description
The mem_get_bits_rectangle function in Artifex Software, Inc. Ghostscript 9.20 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted PostScript 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.20~dfsg-3 | — |
| Debian 13 | ghostscript | 9.20~dfsg-3 | — |
| Debian 12 | ghostscript | 9.20~dfsg-3 | — |
| Debian 8 | ghostscript | 9.06~dfsg-2+deb8u5 | DSA-3838-1 |
| Debian 7 | ghostscript | 9.05~dfsg-6.3+deb7u7 | DLA-1048-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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ghostscript +4 | 9.07-28.el7 | RHSA-2017:2180 |
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 |
| SLES 11 SP4 | ghostscript-library | 8.62-32.47.7.1 | SUSE-SU-2018:1140-1 |
Show 4 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 |
| SLES for SAP 11 SP4 | ghostscript-library | 8.62-32.47.7.1 | SUSE-SU-2018:1140-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 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ghostscript +4 | 9.07-28.el7 | ELSA-2017-2180 |
Advisories 9
- RHSA-2017:2180 Red Hat Security Advisory: ghostscript security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3272-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3838-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1048-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-2018:1140-1 Security update for ghostscript-library 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
- ELSA-2017-2180 Low: ghostscript security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 7, 2017
References
- DSA-3838 vendor-advisory
- http://www.ghostscript.com/cgi-bin/findgit.cgi?309eca4e0a31ea70dcc844812691439312dad091
- https://bugs.ghostscript.com/show_bug.cgi?id=697676
- 1039071 vdb-entry
- 96995 vdb-entry
- GLSA-201708-06 vendor-advisory
- RHSA-2017:2180 vendor-advisory