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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.014 (71.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 72nd percentile — 71.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: -0.000
Affected products
- Artifex Ghostscript — versions 9.55.0
- Fedoraproject Fedora — versions 35, 36
- Ghostscript — versions Affects in Ghostscript v9.55.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.ghostscript.com/show_bug.cgi (Exploit, Patch, Mailing List, Issue Tracking, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- git.ghostscript.com/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.gentoo.org/glsa/202211-11 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202309-03
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.