{"id":"UBUNTU-CVE-2018-10194","details":"The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite component in Artifex Ghostscript through 9.22 does not prevent overflows in text-positioning calculation, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document.","modified":"2026-04-22T12:42:45.243837Z","published":"2018-04-18T00:00:00Z","related":["USN-3636-1"],"upstream":["CVE-2018-10194"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-10194"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3636-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-10194"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.10~dfsg-0ubuntu10.12?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.10~dfsg-0ubuntu10.12"}]}],"versions":["9.10~dfsg-0ubuntu2","9.10~dfsg-0ubuntu3","9.10~dfsg-0ubuntu4","9.10~dfsg-0ubuntu5","9.10~dfsg-0ubuntu6","9.10~dfsg-0ubuntu7","9.10~dfsg-0ubuntu8","9.10~dfsg-0ubuntu9","9.10~dfsg-0ubuntu10","9.10~dfsg-0ubuntu10.1","9.10~dfsg-0ubuntu10.2","9.10~dfsg-0ubuntu10.3","9.10~dfsg-0ubuntu10.4","9.10~dfsg-0ubuntu10.5","9.10~dfsg-0ubuntu10.6","9.10~dfsg-0ubuntu10.7","9.10~dfsg-0ubuntu10.9","9.10~dfsg-0ubuntu10.10"],"ecosystem_specific":{"binaries":[{"binary_version":"9.10~dfsg-0ubuntu10.12","binary_name":"ghostscript"},{"binary_version":"9.10~dfsg-0ubuntu10.12","binary_name":"ghostscript-x"},{"binary_version":"9.10~dfsg-0ubuntu10.12","binary_name":"libgs9"},{"binary_version":"9.10~dfsg-0ubuntu10.12","binary_name":"libgs9-common"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10194.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.18~dfsg~0-0ubuntu2.8?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.18~dfsg~0-0ubuntu2.8"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"9.18~dfsg~0-0ubuntu2.8","binary_name":"ghostscript"},{"binary_version":"9.18~dfsg~0-0ubuntu2.8","binary_name":"ghostscript-x"},{"binary_version":"9.18~dfsg~0-0ubuntu2.8","binary_name":"libgs9"},{"binary_version":"9.18~dfsg~0-0ubuntu2.8","binary_name":"libgs9-common"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10194.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.22~dfsg+1-0ubuntu1.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.22~dfsg+1-0ubuntu1.1"}]}],"versions":["9.21~dfsg+1-0ubuntu3","9.22~dfsg+1-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.22~dfsg+1-0ubuntu1.1","binary_name":"ghostscript"},{"binary_version":"9.22~dfsg+1-0ubuntu1.1","binary_name":"ghostscript-x"},{"binary_version":"9.22~dfsg+1-0ubuntu1.1","binary_name":"libgs9"},{"binary_version":"9.22~dfsg+1-0ubuntu1.1","binary_name":"libgs9-common"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10194.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}