Description
A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.
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.52.1~dfsg-1 | — |
| Debian 13 | ghostscript | 9.52.1~dfsg-1 | — |
| Debian 12 | ghostscript | 9.52.1~dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.1 | USN-4445-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | ghostscript | 9.52-3.32.1 | SUSE-SU-2020:2095-1 |
| SLES 15 SP1 | ghostscript | 9.52-3.32.1 | SUSE-SU-2020:2095-1 |
| SLES 15 | ghostscript | 9.52-3.32.1 | SUSE-SU-2020:2095-1 |
| SLES 12 SP5 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SLES 12 SP4 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SLES 12 SP2 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SLES for SAP 15 | ghostscript | 9.52-3.32.1 | SUSE-SU-2020:2095-1 |
| SLES for SAP 12 SP5 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SLES for SAP 12 SP4 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SLES for SAP 12 SP3 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SLES for SAP 12 SP2 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SLE HPC 15 | ghostscript | 9.52-3.32.1 | SUSE-SU-2020:2095-1 |
| SUSE OpenStack Cloud Crowbar 9 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SUSE OpenStack Cloud Crowbar 8 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SUSE OpenStack Cloud 9 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SUSE OpenStack Cloud 8 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SUSE OpenStack Cloud 7 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SUSE HPE Helion OpenStack 8 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
| SUSE Enterprise Storage 5 | ghostscript | 9.52-23.39.1 | SUSE-SU-2020:2097-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 9.54.0-2.2 | openSUSE-SU-2024:10783-1 |
| openSUSE Leap 15.2 | ghostscript +1 | 9.52-lp152.2.4.1 | openSUSE-SU-2020:1146-1 |
| openSUSE Leap 15.1 | ghostscript +1 | 9.52-lp151.3.15.1 | openSUSE-SU-2020:1142-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.12 | ghostscript | 9.52-r1 | — |
| Alpine v3.11 | ghostscript | 9.50-r1 | — |
Advisories 6
- USN-4445-1 ghostscript vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2024:10783-1 ghostscript-9.54.0-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2097-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2095-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1142-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1146-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=log
- https://github.com/ArtifexSoftware/ghostpdl/commits/master/psi/zstring.c
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=5d499272b95a6b890a1397e11d20937de000d31b
- https://github.com/ArtifexSoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31b
- https://artifex.com/security-advisories/CVE-2020-15900
- openSUSE-SU-2020:1142 vendor-advisory
- openSUSE-SU-2020:1146 vendor-advisory
- USN-4445-1 vendor-advisory
- GLSA-202008-20 vendor-advisory