# CVE-2020-16297

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-08-13 · Modified: 2025-03-04
- Aliases: ALPINE-CVE-2020-16297, UBUNTU-CVE-2020-16297, DEBIAN-CVE-2020-16297
- Record: https://cvemate.com/vulnerability/CVE-2020-16297 · JSON: https://cvemate.com/vulnerability/CVE-2020-16297/json

## Description

```text
A buffer overflow vulnerability in FloydSteinbergDitheringC() in contrib/gdevbjca.c of Artifex Software GhostScript v9.18 to v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 2.276%, percentile 83.684%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine ghostscript (Alpine Linux): ≥ 9.18, \< 9.51-r0
- artifex ghostscript: ≥ 9.18, \< 9.52
- canonical ubuntu\_linux: 16.04 \| 18.04 \| 20.04
- debian ghostscript (Debian): \< 9.51~dfsg-1
- ubuntu ghostscript (Ubuntu): \< 9.26~dfsg+0-0ubuntu0.16.04.13 \| \< 9.26~dfsg+0-0ubuntu0.18.04.13 \| \< 9.50~dfsg-5ubuntu4.2
- debian debian\_linux: 9.0 \| 10.0

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=701800>
- <https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=bf72f1a3dd5392ee8291e3b1518a0c2c5dc6ba39>
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00032.html>
- <https://www.debian.org/security/2020/dsa-4748>
- <https://security.gentoo.org/glsa/202008-20>
- <https://usn.ubuntu.com/4469-1/>
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=bf72f1a3dd5392ee8291e3b1518a0c2c5dc6ba39>
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/tree/contrib/gdevbjca.c?h=ghostpdl-9.18#n659>
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=bf72f1a3dd5392ee8291e3b1518a0c2c5dc6ba39>
- <https://security.alpinelinux.org/vuln/CVE-2020-16297>
- <https://ubuntu.com/security/CVE-2020-16297>
- <https://ubuntu.com/security/notices/USN-4469-1>
- <https://www.cve.org/CVERecord?id=CVE-2020-16297>
- <https://security-tracker.debian.org/tracker/CVE-2020-16297>

---

Data as of 2026-12-05T11:16:17.160Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
