CVE-2022-2085
published 2022-06-16CVE-2022-2085: 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…
PriorityP421medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.40%
69.4th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | — | — |
| artifex | ghostscript | — | — |
| artifex | ghostscript | >= 0 < 9.56.0~dfsg-1 | 9.56.0~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.56.0~dfsg-1 | 9.56.0~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.56.0~dfsg-1 | 9.56.0~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.26~dfsg+0-0ubuntu0.18.04.17 | 9.26~dfsg+0-0ubuntu0.18.04.17 |
| artifex | ghostscript | >= 0 < 9.50~dfsg-5ubuntu4.6 | 9.50~dfsg-5ubuntu4.6 |
| artifex | ghostscript | >= 0 < 9.55.0~dfsg1-0ubuntu5.1 | 9.55.0~dfsg1-0ubuntu5.1 |
| debian | ghostscript | < ghostscript 9.56.0~dfsg-1 (bookworm) | ghostscript 9.56.0~dfsg-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv7.1HIGH
vendor_ubuntu7.1HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2022-09-27·CVSS 7.1
CVE-2022-2085 [HIGH] Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
It was discovered that GhostScript incorrectly handled certain PDF files.
If a user or automated system were tricked into opening a specially crafted
PDF file, a remote attacker could use this issue to cause GhostScript to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-27792)
It was discovered that GhostScript incorrectly handled certain PDF files.
If a user or automated system were tricked into opening a specially crafted
PDF file, a remote attacker could use this issue to cause GhostScript to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affec
Red Hat
ghostscript: Null pointer dereference in gx_default_create_buf_device()
vendor_redhat·2022-02-14·CVSS 5.5
CVE-2022-2085 [MEDIUM] CWE-476 ghostscript: Null pointer dereference in gx_default_create_buf_device()
ghostscript: Null pointer dereference in gx_default_create_buf_device()
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.
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 dev
Debian
CVE-2022-2085: ghostscript - A NULL pointer dereference vulnerability was found in Ghostscript, which occurs ...
vendor_debian·2022·CVSS 5.5
CVE-2022-2085 [MEDIUM] CVE-2022-2085: ghostscript - A NULL pointer dereference vulnerability was found in Ghostscript, which occurs ...
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.
Scope: local
bookworm: resolved (fixed in 9.56.0~dfsg-1)
bullseye: resolved
forky: resolved (fixed in 9.56.0~dfsg-1)
sid: resolved (fixed in 9.56.0~dfsg-1)
trixie: resolved (fixed in 9.56.0~dfsg-1)
OSV
ghostscript vulnerabilities
osv·2022-09-27·CVSS 7.1
CVE-2020-27792 [HIGH] ghostscript vulnerabilities
ghostscript vulnerabilities
It was discovered that GhostScript incorrectly handled certain PDF files.
If a user or automated system were tricked into opening a specially crafted
PDF file, a remote attacker could use this issue to cause GhostScript to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
(CVE-2020-27792)
It was discovered that GhostScript incorrectly handled certain PDF files.
If a user or automated system were tricked into opening a specially crafted
PDF file, a remote attacker could use this issue to cause GhostScript to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2085)
GHSA
GHSA-8932-gr4r-9hpv: A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory
ghsa_unreviewed·2022-06-17
CVE-2022-2085 [MEDIUM] CWE-476 GHSA-8932-gr4r-9hpv: A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory
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.
OSV
CVE-2022-2085: A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory
osv·2022-06-16·CVSS 5.5
CVE-2022-2085 [MEDIUM] CVE-2022-2085: A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://git.ghostscript.com/?p=ghostpdl.git%3Bh=ae1061d948d88667bdf51d47d918c4684d0f67dfhttps://bugs.ghostscript.com/show_bug.cgi?id=704945https://bugzilla.redhat.com/show_bug.cgi?id=2095261https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERSZX5LKDWAHZWJYBMP2E2UHOPUCDEGV/https://security.gentoo.org/glsa/202211-11https://security.gentoo.org/glsa/202309-03http://git.ghostscript.com/?p=ghostpdl.git%3Bh=ae1061d948d88667bdf51d47d918c4684d0f67dfhttps://bugs.ghostscript.com/show_bug.cgi?id=704945https://bugzilla.redhat.com/show_bug.cgi?id=2095261https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERSZX5LKDWAHZWJYBMP2E2UHOPUCDEGV/https://security.gentoo.org/glsa/202211-11https://security.gentoo.org/glsa/202309-03
2022-06-16
Published