Vulnerability Details : CVE-2022-2085
Potential exploit
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.
Vulnerability category: Memory Corruption
Products affected by CVE-2022-2085
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:a:artifex:ghostscript:9.55.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-2085
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-2085
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2022-2085
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2022-2085
-
https://security.gentoo.org/glsa/202309-03
GPL Ghostscript: Multiple Vulnerabilities (GLSA 202309-03) — Gentoo security
-
https://bugs.ghostscript.com/show_bug.cgi?id=704945
704945 – Null pointer dereference in gx_default_create_buf_device()Exploit;Issue Tracking;Mailing List;Patch;Vendor Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=2095261
2095261 – (CVE-2022-2085) CVE-2022-2085 ghostscript: Null pointer dereference in gx_default_create_buf_device()Issue Tracking;Patch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERSZX5LKDWAHZWJYBMP2E2UHOPUCDEGV/
[SECURITY] Fedora 35 Update: ghostscript-9.56.1-1.fc35 - package-announce - Fedora Mailing-Lists
-
https://security.gentoo.org/glsa/202211-11
GPL Ghostscript: Multiple Vulnerabilities (GLSA 202211-11) — Gentoo securityThird Party Advisory
-
http://git.ghostscript.com/?p=ghostpdl.git%3Bh=ae1061d948d88667bdf51d47d918c4684d0f67df
git.ghostscript.com Git
Jump to