{"id":"UBUNTU-CVE-2020-27792","details":"A heap-based buffer overwrite vulnerability was found in GhostScript's lp8000_print_page() function in the gdevlp8k.c file. This flaw allows an attacker to trick a user into opening a crafted PDF file, triggering the heap buffer overflow that could lead to memory corruption or a denial of service.","modified":"2026-04-22T14:18:51.988599Z","published":"2022-08-19T23:15:00Z","related":["USN-5618-1","USN-5643-1"],"upstream":["CVE-2020-27792"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-27792"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5618-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5643-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-27792"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.16.04.14+esm4?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26~dfsg+0-0ubuntu0.16.04.14+esm4"}]}],"versions":["9.16~dfsg~0-0ubuntu3","9.16~dfsg~0-0ubuntu4","9.18~dfsg~0-0ubuntu1","9.18~dfsg~0-0ubuntu2","9.18~dfsg~0-0ubuntu2.2","9.18~dfsg~0-0ubuntu2.3","9.18~dfsg~0-0ubuntu2.4","9.18~dfsg~0-0ubuntu2.6","9.18~dfsg~0-0ubuntu2.7","9.18~dfsg~0-0ubuntu2.8","9.18~dfsg~0-0ubuntu2.9","9.25~dfsg+1-0ubuntu0.16.04.1","9.25~dfsg+1-0ubuntu0.16.04.2","9.25~dfsg+1-0ubuntu0.16.04.3","9.26~dfsg+0-0ubuntu0.16.04.1","9.26~dfsg+0-0ubuntu0.16.04.3","9.26~dfsg+0-0ubuntu0.16.04.4","9.26~dfsg+0-0ubuntu0.16.04.5","9.26~dfsg+0-0ubuntu0.16.04.6","9.26~dfsg+0-0ubuntu0.16.04.7","9.26~dfsg+0-0ubuntu0.16.04.8","9.26~dfsg+0-0ubuntu0.16.04.9","9.26~dfsg+0-0ubuntu0.16.04.10","9.26~dfsg+0-0ubuntu0.16.04.11","9.26~dfsg+0-0ubuntu0.16.04.12","9.26~dfsg+0-0ubuntu0.16.04.13","9.26~dfsg+0-0ubuntu0.16.04.14","9.26~dfsg+0-0ubuntu0.16.04.14+esm1","9.26~dfsg+0-0ubuntu0.16.04.14+esm2","9.26~dfsg+0-0ubuntu0.16.04.14+esm3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm4","binary_name":"ghostscript"},{"binary_name":"ghostscript-x","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm4"},{"binary_name":"libgs9","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm4"},{"binary_name":"libgs9-common","binary_version":"9.26~dfsg+0-0ubuntu0.16.04.14+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27792.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.18.04.17?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26~dfsg+0-0ubuntu0.18.04.17"}]}],"versions":["9.21~dfsg+1-0ubuntu3","9.22~dfsg+1-0ubuntu1","9.22~dfsg+1-0ubuntu1.1","9.22~dfsg+1-0ubuntu1.2","9.25~dfsg+1-0ubuntu0.18.04.1","9.25~dfsg+1-0ubuntu0.18.04.2","9.26~dfsg+0-0ubuntu0.18.04.1","9.26~dfsg+0-0ubuntu0.18.04.3","9.26~dfsg+0-0ubuntu0.18.04.4","9.26~dfsg+0-0ubuntu0.18.04.5","9.26~dfsg+0-0ubuntu0.18.04.6","9.26~dfsg+0-0ubuntu0.18.04.7","9.26~dfsg+0-0ubuntu0.18.04.8","9.26~dfsg+0-0ubuntu0.18.04.9","9.26~dfsg+0-0ubuntu0.18.04.10","9.26~dfsg+0-0ubuntu0.18.04.11","9.26~dfsg+0-0ubuntu0.18.04.12","9.26~dfsg+0-0ubuntu0.18.04.13","9.26~dfsg+0-0ubuntu0.18.04.14","9.26~dfsg+0-0ubuntu0.18.04.15","9.26~dfsg+0-0ubuntu0.18.04.16"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"ghostscript","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.17"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.17","binary_name":"ghostscript-x"},{"binary_name":"libgs9","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.17"},{"binary_name":"libgs9-common","binary_version":"9.26~dfsg+0-0ubuntu0.18.04.17"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27792.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.50~dfsg-5ubuntu4.6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.50~dfsg-5ubuntu4.6"}]}],"versions":["9.27~dfsg+0-0ubuntu3","9.27~dfsg+0-0ubuntu4","9.50~dfsg-5ubuntu1","9.50~dfsg-5ubuntu2","9.50~dfsg-5ubuntu3","9.50~dfsg-5ubuntu4","9.50~dfsg-5ubuntu4.1","9.50~dfsg-5ubuntu4.2","9.50~dfsg-5ubuntu4.3","9.50~dfsg-5ubuntu4.4","9.50~dfsg-5ubuntu4.5"],"ecosystem_specific":{"binaries":[{"binary_name":"ghostscript","binary_version":"9.50~dfsg-5ubuntu4.6"},{"binary_name":"ghostscript-x","binary_version":"9.50~dfsg-5ubuntu4.6"},{"binary_name":"libgs9","binary_version":"9.50~dfsg-5ubuntu4.6"},{"binary_name":"libgs9-common","binary_version":"9.50~dfsg-5ubuntu4.6"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-27792.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}