CVE-2020-27792 Ghostscript: heap buffer over write vulnerability in ghostscript's lp8000_print_page() in gdevlp8k.c
An attacker can cause memory corruption or denial of service by tricking a user into opening a crafted PDF file processed by Ghostscript.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-27792?
CVE-2020-27792 is a high-severity memory corruption vulnerability in Artifex Ghostscript, published on 19 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2020-27792?
It affects 2 products.
Products include Artifex Ghostscript, Debian Debian Linux.
How do I fix CVE-2020-27792?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-27792 being exploited?
There is no known exploitation of CVE-2020-27792 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as DEBIAN-CVE-2020-27792, DLA-3096-1, GHSA-7h9w-vh8m-rj5g, UBUNTU-CVE-2020-27792, USN-5618-1.