# CVE-2020-27792: Ghostscript: heap buffer over write vulnerability in ghostscript's lp8000_print_page() in gdevlp8k.c

- Severity: High 7.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/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): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2022-08-19T22:46:08.000Z
- Modified: 2026-11-25T18:18:42.537Z
- Weaknesses: CWE-119
- Assigned by: redhat

## Description

A heap-based buffer overwrite vulnerability was found in GhostScript's lp8000_print_page() function in the gdevlp8k.c file. This flaw allows an attacker to trick a user into opening a crafted PDF file, triggering the heap buffer overflow that could lead to memory corruption or a denial of service.

(As written by CVE List.)

## Affected

- ghostscript: no versions given (not affected: from 0:9.27-16.el8_10 before *)
- artifex ghostscript: up to 9.50
- debian debian_linux: 10.0

## Every score

- redhat: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2025:4362> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2020-27792> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2247179> (issue-tracking)
- <https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7>
- <https://bugs.ghostscript.com/show_bug.cgi?id=701844>
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7>
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00005.html> (mailing-list)

## Sources

- CVE List: [CVE-2020-27792](https://www.cve.org/CVERecord?id=CVE-2020-27792), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2020-27792](https://nvd.nist.gov/vuln/detail/CVE-2020-27792), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2020-27792 · Whole record: https://cve.day/CVE-2020-27792.json · Rebuilt by cve.day 2026-11-25T23:18:31.984Z
