Logo
vulnerabilityCVE-2022-2085
Name
CVE-2022-2085
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
ghostscript
Patched

Vulnerability Ratings#


5.5
CVSSv31
4.3
CVSSv2

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
10.07.0
Not Affected
buildroot
master
10.07.0
Not Affected
yocto
master
10.07.1
Not Affected
yocto
scarthgap
10.05.1
Not Affected

Resolved with patches#


ghostscript (yocto:kirkstone)

#
Title
Author
Resolve
1
Bug 704945: Add init_device_procs entry for mem_x_device.
Robin Watts <Robin.Watts@artifex.com>
CVE-2022-2085