CVE-2022-2085
Last modified
CVE-2022-2085 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 1.39% chance of exploitation in the next 30 days.
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 pointer dereference flaw, causing an application to crash.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Artifex | Ghostscript | 9.55.0 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- https://bugs.ghostscript.com/show_bug.cgi?id=704945Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2095261Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202211-11Third Party Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=704945Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2095261Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202211-11Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-2085?
How severe is CVE-2022-2085?
How do I fix CVE-2022-2085?
Are you affected by CVE-2022-2085?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
