{"id":"UBUNTU-CVE-2018-19134","details":"In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash Ghostscript or, possibly, execute arbitrary code in the context of the Ghostscript process. This is a type confusion issue because of failure to check whether the Implementation of a pattern dictionary was a structure type.","modified":"2025-09-08T16:45:05Z","published":"2018-12-20T23:29:00Z","upstream":["CVE-2018-19134"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-19134"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-19134"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.14.04.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26~dfsg+0-0ubuntu0.14.04.1"}]}],"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","9.10~dfsg-0ubuntu10.12","9.10~dfsg-0ubuntu10.13","9.25~dfsg+1-0ubuntu0.14.04.1","9.25~dfsg+1-0ubuntu0.14.04.2","9.25~dfsg+1-0ubuntu0.14.04.3"],"ecosystem_specific":{"binaries":[{"binary_version":"9.26~dfsg+0-0ubuntu0.14.04.1","binary_name":"ghostscript"},{"binary_version":"9.26~dfsg+0-0ubuntu0.14.04.1","binary_name":"ghostscript-x"},{"binary_version":"9.26~dfsg+0-0ubuntu0.14.04.1","binary_name":"libgs-dev"},{"binary_version":"9.26~dfsg+0-0ubuntu0.14.04.1","binary_name":"libgs9"},{"binary_version":"9.26~dfsg+0-0ubuntu0.14.04.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-19134.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26~dfsg+0-0ubuntu0.16.04.1"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.1","binary_name":"ghostscript"},{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.1","binary_name":"ghostscript-x"},{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.1","binary_name":"libgs-dev"},{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.1","binary_name":"libgs9"},{"binary_version":"9.26~dfsg+0-0ubuntu0.16.04.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-19134.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.26~dfsg+0-0ubuntu0.18.04.1"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.1","binary_name":"ghostscript"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.1","binary_name":"ghostscript-x"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.1","binary_name":"libgs-dev"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.1","binary_name":"libgs9"},{"binary_version":"9.26~dfsg+0-0ubuntu0.18.04.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-19134.json"}}],"schema_version":"1.7.3","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"}]}