NULL pointer dereference in Artifex Ghostscript
CVE-2022-2085
A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory. When allocating a buffer device, it relies on an init_device_procs defined for the device that uses it as a prototype that depends upon the number of bits per pixel. For bpp > 64, mem_x_device is used and does not have an init_device_procs defined. This flaw allows an attacker to parse a large number of bits (more than 64 bits per pixel), which triggers a NULL pointer dereference flaw, causing an application to crash.
EPSS: 0.014 (69.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
Affected products
- Artifex Ghostscript — versions 9.55.0
- Fedoraproject Fedora — versions 35, 36
- N/a Ghostscript — versions Affects in Ghostscript v9.55.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Exploit, Patch, Mailing List, Issue Tracking, Vendor Advisory)
- secalert@redhat.com (Patch, Third Party Advisory, Issue Tracking)
- secalert@redhat.com
- secalert@redhat.com (vendor-advisory)
- secalert@redhat.com (vendor-advisory, Third Party Advisory)
- secalert@redhat.com
Frequently asked questions
- What is CVE-2022-2085?
- CVE-2022-2085 is a medium-severity vulnerability in Artifex Ghostscript, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2022-06-16.
- How severe is CVE-2022-2085?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2022-2085 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.