# CVE-2020-21890: ghostscript: Buffer Overflow vulnerability in clj_media_size function in devices/gdevclj.c in Artifex Ghostscript 9.50 allows remo...

CVE-2020-21890 is fixed in 4 products on 1 platform, first by ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm2, released August 22, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2020-21890
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0081
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 22, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ghostscript Debian 12.15 (bookworm) | 9.51~dfsg-1 | [DEBIAN-CVE-2020-21890](https://patchblox.com/security/data/fix/linux/debian-cve-2020-21890.md) | Aug 22, 2023 |
| Linux | ghostscript Debian 13.5 (trixie) | 9.51~dfsg-1 | [DEBIAN-CVE-2020-21890](https://patchblox.com/security/data/fix/linux/debian-cve-2020-21890.md) | Aug 22, 2023 |
| Linux | ghostscript Debian 14 | 9.51~dfsg-1 | [DEBIAN-CVE-2020-21890](https://patchblox.com/security/data/fix/linux/debian-cve-2020-21890.md) | Aug 22, 2023 |
| Linux | ghostscript Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm2 | [ghostscript 9.26~dfsg+0-0ubuntu0.18.04.18+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ghostscript-9.26-dfsg-0-0ubuntu0.18.04.18-esm2.md) | Aug 22, 2023 |
| Linux | ghostscript Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.10 | [ghostscript 9.50~dfsg-5ubuntu4.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ghostscript-9.50-dfsg-5ubuntu4.10.md) | Aug 22, 2023 |
| Linux | ghostscript-x Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm2 | [ghostscript-x 9.26~dfsg+0-0ubuntu0.18.04.18+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ghostscript-x-9.26-dfsg-0-0ubuntu0.18.04.18-esm2.md) | Aug 22, 2023 |
| Linux | ghostscript-x Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.10 | [ghostscript-x 9.50~dfsg-5ubuntu4.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ghostscript-x-9.50-dfsg-5ubuntu4.10.md) | Aug 22, 2023 |
| Linux | libgs9 Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm2 | [libgs9 9.26~dfsg+0-0ubuntu0.18.04.18+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgs9-9.26-dfsg-0-0ubuntu0.18.04.18-esm2.md) | Aug 22, 2023 |
| Linux | libgs9 Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.10 | [libgs9 9.50~dfsg-5ubuntu4.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgs9-9.50-dfsg-5ubuntu4.10.md) | Aug 22, 2023 |
| Linux | libgs9-common Ubuntu 18.04.6 LTS (bionic) | 9.26~dfsg+0-0ubuntu0.18.04.18+esm2 | [libgs9-common 9.26~dfsg+0-0ubuntu0.18.04.18+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libgs9-common-9.26-dfsg-0-0ubuntu0.18.04.18-esm2.md) | Aug 22, 2023 |
| Linux | libgs9-common Ubuntu 20.04 LTS (focal) | 9.50~dfsg-5ubuntu4.10 | [libgs9-common 9.50~dfsg-5ubuntu4.10](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libgs9-common-9.50-dfsg-5ubuntu4.10.md) | Aug 22, 2023 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
