{"id":"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":"2026-03-12T22:46:40.510363Z","published":"2018-12-20T23:29:00.910Z","references":[{"type":"WEB","url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=693baf02152119af6e6afd30bb8ec76d14f84bbf"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/106278"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:3834"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00019.html"},{"type":"ADVISORY","url":"https://www.ghostscript.com/doc/9.26/News.htm"},{"type":"REPORT","url":"https://bugs.ghostscript.com/show_bug.cgi?id=700141"},{"type":"EVIDENCE","url":"https://semmle.com/news/semmle-discovers-severe-vulnerability-ghostscript-postscript-pdf"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"9.25"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"7.6"}]},{"events":[{"introduced":"0"},{"last_affected":"7.6"}]},{"events":[{"introduced":"0"},{"last_affected":"7.0"}]},{"events":[{"introduced":"0"},{"last_affected":"9.25"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-19134.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"}]}