CVE-2022-2085

Summary

CVECVE-2022-2085
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-06-16 18:15:00 UTC
Updated2023-09-17 07:15:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-476

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Artifex Ghostscript 9.55.0 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 35 Update: ghostscript-9.56.1-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
GPL Ghostscript: Multiple Vulnerabilities (GLSA 202211-11) — Gentoo security GENTOO security.gentoo.org
2095261 – (CVE-2022-2085) CVE-2022-2085 ghostscript: Null pointer dereference in gx_default_create_buf_device() MISC bugzilla.redhat.com
git.ghostscript.com Git - ghostpdl.git/commit MISC git.ghostscript.com
git.ghostscript.com Git - ghostpdl.git/commit MISC git.ghostscript.com
[SECURITY] Fedora 35 Update: ghostscript-9.56.1-1.fc35 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
704945 – Null pointer dereference in gx_default_create_buf_device() MISC bugs.ghostscript.com
GPL Ghostscript: Multiple Vulnerabilities (GLSA 202309-03) — Gentoo security MISC security.gentoo.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 182693 Debian Security Update for ghostscript (CVE-2022-2085)
  • 198965 Ubuntu Security Notification for Ghostscript Vulnerabilities (USN-5643-1)
  • 283025 Fedora Security Update for ghostscript (FEDORA-2022-d287230630)
  • 354420 Amazon Linux Security Advisory for ghostscript : ALAS2022-2022-230
  • 354557 Amazon Linux Security Advisory for ghostscript : ALAS-2022-230
  • 355242 Amazon Linux Security Advisory for ghostscript : ALAS2023-2023-053
  • 710680 Gentoo Linux GPL Ghostscript Multiple Vulnerabilities (GLSA 202211-11)
  • 710748 Gentoo Linux GPL Ghostscript Multiple Vulnerabilities (GLSA 202309-03)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report