Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-2085

published

ghostscript: Null pointer dereference in gx_default_create_buf_device()

Title from Red Hat VEX

Published
16 Jun 2022, 00:00:00 UTC
Updated
13 Feb 2025, 16:28:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — GhostScriptAffects in Ghostscript v9.55.0 Affected Not stated redhat
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-053 Fixed Not stated Amazon Linux assessment
Ubuntu jammy ghostscript Advisory build 9.55.0~dfsg1-0ubuntu5.1 USN-5643-1
Amazon Linux AL2023 ghostscriptaarch64 Listed in advisory Not stated ALAS2023-2023-053
Ubuntu jammy ghostscript-x Advisory build 9.55.0~dfsg1-0ubuntu5.1 USN-5643-1
Ubuntu jammy libgs9 Advisory build 9.55.0~dfsg1-0ubuntu5.1 USN-5643-1
Ubuntu jammy libgs9-common Advisory build 9.55.0~dfsg1-0ubuntu5.1 USN-5643-1
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 ghostscriptnoarch Listed in advisory Not stated ALAS2023-2023-053
Amazon Linux AL2023 ghostscriptsrc Listed in advisory Not stated ALAS2023-2023-053
Amazon Linux AL2023 ghostscriptx86_64 Listed in advisory Not stated ALAS2023-2023-053

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a GhostScript Affects in Ghostscript v9.55.0 (affected) redhat · cna

Weaknesses

1
  • CWE-476 CWE-476 - NULL Pointer Dereference (redhat · cna)

References

6

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
3a1679efcaffc733f946041532b54b0ae16f0fd428c64a81f38ffbd13e07d5f7
Ingested
23 Sep 2026, 08:00:01 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected