CVE-2022-2085

Severity
5.5MEDIUM
EPSS
0.1%
top 65.54%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 16
Latest updateSep 27

Description

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages3 packages

Debianghostscript< 9.56.0~dfsg-1+2
CVEListV5ghostscriptAffects in Ghostscript v9.55.0

Also affects: Fedora 35, 36

Patches

🔴Vulnerability Details

4
OSV
ghostscript vulnerabilities2022-09-27
GHSA
GHSA-8932-gr4r-9hpv: A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory2022-06-17
CVEList
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 memory2022-06-16
OSV
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 memory2022-06-16

📋Vendor Advisories

3
Ubuntu
Ghostscript vulnerabilities2022-09-27
Red Hat
ghostscript: Null pointer dereference in gx_default_create_buf_device()2022-02-14
Debian
CVE-2022-2085: ghostscript - A NULL pointer dereference vulnerability was found in Ghostscript, which occurs ...2022
CVE-2022-2085 (MEDIUM CVSS 5.5) | A NULL pointer dereference vulnerab | cvebase.io