GhostScript PDF gdevlp8k.c lp8000_print_page heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability was found in GhostScript. It has been declared as critical. Affected by this issue is the function lp8000_print_page of the file gdevlp8k.c of the component PDF Handler. The manipulation results in heap-based overflow.
This vulnerability is identified as CVE-2020-27792. The attack can be executed remotely. There is not any exploit available.
Applying a patch is advised to resolve this issue.
Details
A vulnerability classified as critical has been found in GhostScript (Document Processing Software) (version now known). Affected is the function lp8000_print_page of the file gdevlp8k.c of the component PDF Handler. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
A heap-based buffer over write vulnerability was found in GhostScript's lp8000_print_page() function in gdevlp8k.c file. An attacker could trick a user to open a crafted PDF file, triggering the heap buffer overflow that could lead to memory corruption or a denial of service.
The weakness was released 08/20/2022. The advisory is shared for download at bugs.ghostscript.com. This vulnerability is traded as CVE-2020-27792 since 10/27/2020. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 235015 (RHEL 8 : ghostscript (RHSA-2025:4362)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7 is able to eliminate this problem. The bugfix is ready for download at git.ghostscript.com.
The vulnerability is also documented in the vulnerability database at Tenable (235015). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.7
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.1
NVD Vector: 🔍
CNA Base Score: 7.1
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 235015
Nessus Name: RHEL 8 : ghostscript (RHSA-2025:4362)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 4f6bc662909ab79e8fbe9822afb36e8a0eafc2b7
Timeline
10/27/2020 🔍08/20/2022 🔍
08/20/2022 🔍
04/30/2025 🔍
Sources
Advisory: DLA 3096-1Status: Confirmed
CVE: CVE-2020-27792 (🔍)
GCVE (CVE): GCVE-0-2020-27792
GCVE (VulDB): GCVE-100-206856
Entry
Created: 08/20/2022 09:02Updated: 04/30/2025 21:12
Changes: 08/20/2022 09:02 (42), 09/24/2022 08:03 (1), 09/24/2022 08:10 (11), 09/30/2024 18:59 (26), 04/30/2025 03:14 (3), 04/30/2025 21:12 (2)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.