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.

Subscriptions

Vendors Products
Artifex Subscribe
Ghostscript Subscribe
Fedoraproject Subscribe

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-34375 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.
Ubuntu USN Ubuntu USN USN-5643-1 Ghostscript vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-02-13T16:28:52.337Z

Reserved: 2022-06-15T00:00:00.000Z

Link: CVE-2022-2085

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-06-16T18:15:10.190

Modified: 2024-11-21T07:00:17.593

Link: CVE-2022-2085

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-02-14T00:00:00Z

Links: CVE-2022-2085 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses