CVE & CISA-KEV Catalog

CVE-2022-2085

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
ghostscriptDebian
Fixed in:9.56.0~dfsg-1CVE-2022-2085
Fixed in:9.56.0~dfsg-1CVE-2022-2085
Fixed in:9.56.0~dfsg-1CVE-2022-2085
ghostscriptUbuntu
Fixed in:9.26~dfsg+0-0ubuntu0.18.04.17USN-5643-1
Fixed in:9.50~dfsg-5ubuntu4.6USN-5643-1
Fixed in:9.55.0~dfsg1-0ubuntu5.1USN-5643-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

1.40%probability of exploitation in 30 days
69thpercentile

Moderate risk: more likely to be exploited than 69% of all known CVEs.

References

Related Vulnerabilities

Other CWE-476 (NULL Pointer Dereference) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-21758High7.592%-Fix
CVE-2023-21547High7.588%-Fix
CVE-2014-3470Medium4.386%-Fix
CVE-2021-44224High8.282%-Fix
CVE-2016-0742High7.582%-Fix
CVE-2009-1386Medium5.080%-Fix
Embed a live status badge for CVE-2022-2085
CVE-2022-2085 severity badge

Markdown

[![CVE-2022-2085](https://tridentstack.com/cve/badge/CVE-2022-2085.svg)](https://tridentstack.com/cve/CVE-2022-2085)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-2085"><img src="https://tridentstack.com/cve/badge/CVE-2022-2085.svg" alt="CVE-2022-2085"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.