Medium severity5.5NVD Advisory· Published Jun 16, 2022· Updated Jun 17, 2026
CVE-2022-2085
CVE-2022-2085
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5cpe:2.3:a:artifex:ghostscript:9.55.0:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:a:artifex:ghostscript:9.55.0:*:*:*:*:*:*:*
- (no CPE)
- (no CPE)
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
5- bugzilla.redhat.com/show_bug.cginvdIssue TrackingPatchThird Party Advisory
- bugs.ghostscript.com/show_bug.cginvdExploitIssue TrackingMailing ListPatchVendor Advisory
- security.gentoo.org/glsa/202211-11nvdThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERSZX5LKDWAHZWJYBMP2E2UHOPUCDEGV/nvd
- security.gentoo.org/glsa/202309-03nvd
News mentions
0No linked articles in our index yet.