{"id":"CVE-2022-2085","state":"PUBLISHED","title":"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","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.","publishedAt":"2022-06-16T00:00:00.000Z","updatedAt":"2025-02-13T16:28:52.337Z","severity":null,"assigner":"redhat","products":["n/a GhostScript"],"affected":[{"vendor":"n/a","product":"GhostScript","versions":[{"version":"Affects in Ghostscript v9.55.0","status":"affected"}]}],"references":["https://bugs.ghostscript.com/show_bug.cgi?id=704945","https://bugzilla.redhat.com/show_bug.cgi?id=2095261","http://git.ghostscript.com/?p=ghostpdl.git%3Bh=ae1061d948d88667bdf51d47d918c4684d0f67df","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERSZX5LKDWAHZWJYBMP2E2UHOPUCDEGV/","https://security.gentoo.org/glsa/202211-11","https://security.gentoo.org/glsa/202309-03"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T19:50:01.354Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/2xxx/CVE-2022-2085.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-2085","state":"PUBLISHED","datePublished":"2022-06-16T00:00:00.000Z","dateUpdated":"2025-02-13T16:28:52.337Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-06-15T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"GhostScript","versions":[{"version":"Affects in Ghostscript v9.55.0","status":"affected"}]}],"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=704945"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2095261"},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Bh=ae1061d948d88667bdf51d47d918c4684d0f67df"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERSZX5LKDWAHZWJYBMP2E2UHOPUCDEGV/","name":"FEDORA-2022-d287230630","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202211-11","name":"GLSA-202211-11","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202309-03"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","type":"CWE","lang":"en","description":"CWE-476 - NULL Pointer Dereference"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2023-09-17T06:06:35.395Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=704945","tags":["x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2095261","tags":["x_transferred"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Bh=ae1061d948d88667bdf51d47d918c4684d0f67df","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERSZX5LKDWAHZWJYBMP2E2UHOPUCDEGV/","name":"FEDORA-2022-d287230630","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202211-11","name":"GLSA-202211-11","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202309-03","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T00:24:44.176Z"}}]}}}