# CVE-2020-16296: A buffer overflow vulnerability in GetNumWrongData() in contrib/lips4/gdevlips.c of Artifex Software GhostScript from v9.18 to v9.50 allows…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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): 2.05%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-08-13T02:08:28.000Z
- Modified: 2026-06-17T02:58:00.920Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

A buffer overflow vulnerability in GetNumWrongData() in contrib/lips4/gdevlips.c of Artifex Software GhostScript from 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- artifex ghostscript: from 9.18 before 9.52
- debian debian_linux: 9.0; 10.0
- canonical ubuntu_linux: 16.04; 18.04; 20.04

## Every score

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

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=701792> (exploit, issue-tracking, vendor-advisory)
- <https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=9f39ed4a92578a020ae10459643e1fe72573d134>
- <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)
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/tree/contrib/lips4/gdevlips.c?h=ghostscript-9.18#n163>
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=9f39ed4a92578a020ae10459643e1fe72573d134> (broken-link)

## Sources

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

---

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