5.5

CVE-2022-2085: artifex ghostscript NULL Pointer Dereference

CVSS: 5.5v3.1MediumModified
AliasesUBUNTU-CVE-2022-2085DEBIAN-CVE-2022-2085
Published 16-06-2022Last modified 13-02-2025

Vulnerability summary

CVE-2022-2085 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in artifex ghostscript. EPSS estimates a 1.41% chance of exploitation in the next 30 days, higher than 72.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.41%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 16-06-2022
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.41%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

-0.01 pp

From 1.42% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.41%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.ghostscript.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Artifex1 product
Debian1 product
  • ghostscript< 9.56.0~dfsg-1
Fedoraproject1 product
Ubuntu1 product
  • ghostscript< 9.55.0~dfsg1-0ubuntu5.1

4 vendors · 4 products

References

10 links