# CVE-2020-16303: A use-after-free vulnerability in xpsfinishimagepath() in devices/vector/gdevxps.c of Artifex Software GhostScript v9.50 allows a remote at…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.81%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-08-13T02:09:06.000Z
- Modified: 2026-06-17T02:58:01.933Z
- Weaknesses: CWE-416
- Assigned by: mitre

## Description

A use-after-free vulnerability in xps_finish_image_path() in devices/vector/gdevxps.c of Artifex Software GhostScript v9.50 allows a remote attacker to escalate privileges via a crafted PDF file. This is fixed in v9.51.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- artifex ghostscript: 9.50
- debian debian_linux: 9.0; 10.0
- canonical ubuntu_linux: 16.04; 18.04; 20.04

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=701818> (exploit, issue-tracking, vendor-advisory)
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=94d8955cb77>
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00032.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4748> (third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202008-20> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4469-1/> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2020-16303](https://www.cve.org/CVERecord?id=CVE-2020-16303), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-16303](https://nvd.nist.gov/vuln/detail/CVE-2020-16303), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-16303 · Whole record: https://cve.day/CVE-2020-16303.json · Rebuilt by cve.day 2026-11-25T22:57:54.143Z
