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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-06-16T00:00:00

Updated: 2024-08-03T00:24:44.176Z

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

Link: CVE-2022-2085

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2023-09-17T07:15:07.477

Link: CVE-2022-2085

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2022-2085 - Bugzilla