{"schemaVersion":3,"id":"CVE-2018-16585","aliases":["UBUNTU-CVE-2018-16585","DEBIAN-CVE-2018-16585"],"status":"published","duplicateOf":null,"title":null,"description":"An issue was discovered in Artifex Ghostscript before 9.24. The .setdistillerkeys PostScript command is accepted even though it is not intended for use during document processing (e.g., after the startup phase). This leads to memory corruption, allowing remote attackers able to supply crafted PostScript to crash the interpreter or possibly have unspecified other impact. Note: A reputable source believes that the CVE is potentially a duplicate of CVE-2018-15910 as explained in Red Hat bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=1626193)","dates":{"published":"2018-09-06T13:00:00.000Z","modified":"2024-11-14T20:34:21.436Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.01721,"percentile":0.77265,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-1.075,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.02796},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02796,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01721,"percentile":0.77265}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.02796,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01721,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01721,"percentile":0.77265}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"artifex","product":"ghostscript","name":"Ghostscript","label":"ghostscript","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 9.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.24","eol":null,"hubHref":"/vendor/artifex/ghostscript"},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 18.04","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ghostscript","purlType":"deb","versions":[{"text":"< 9.25~dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.25~dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ghostscript","purlType":"deb","versions":[{"text":"< 9.10~dfsg-0ubuntu10.13","noFixRecorded":false,"fixedIn":null},{"text":"< 9.18~dfsg~0-0ubuntu2.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.10~dfsg-0ubuntu10.13 | < 9.18~dfsg~0-0ubuntu2.9","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"}],"affectedCount":5,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://security.gentoo.org/glsa/201811-12","label":"security.gentoo.org/glsa/201811-12","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/3768-1/","label":"usn.ubuntu.com/3768-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=1497d65039885a52b598b137dd8622bd4672f9be","label":"git.ghostscript.com?p=ghostpdl.git%3Ba=commitdiff%3Bh=1497d65039885a52b598b137dd8622bd4672f9be","hostname":"git.ghostscript.com","tags":["X Refsource MISC"]},{"url":"https://www.debian.org/security/2018/dsa-4288","label":"www.debian.org/security/2018/dsa-4288","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html","label":"lists.debian.org/debian-lts-announce/2018/09/msg00015.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commitdiff%3Bh=971472c83a345a16dac9f90f91258bb22dd77f22","label":"git.ghostscript.com?p=ghostpdl.git%3Ba=commitdiff%3Bh=971472c83a345a16dac9f90f91258bb22dd77f22","hostname":"git.ghostscript.com","tags":["X Refsource MISC"]},{"url":"https://seclists.org/oss-sec/2018/q3/182","label":"seclists.org/oss-sec/2018/q3/182","hostname":"seclists.org","tags":["X Refsource MISC","Mailing List","Patch","Third Party Advisory","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1626193","label":"bugzilla.redhat.com/show_bug.cgi?id=1626193","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2018-16585","label":"ubuntu.com/security/CVE-2018-16585","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3768-1","label":"ubuntu.com/security/notices/USN-3768-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-16585","label":"www.cve.org/CVERecord?id=CVE-2018-16585","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-16585","label":"security-tracker.debian.org/tracker/CVE-2018-16585","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1504-1","DSA-4288-1","OPENSUSE-SU-2024:10783-1","SUSE-SU-2018:2975-1","SUSE-SU-2018:2975-2","SUSE-SU-2018:2975-3","SUSE-SU-2018:2976-1","USN-3768-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10783-1","SUSE-SU-2018:2975-1","SUSE-SU-2018:2975-2","SUSE-SU-2018:2975-3","SUSE-SU-2018:2976-1","USN-3768-1"]},"timeline":[{"kind":"published","date":"2018-09-06T13:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-11-14T20:34:21.436Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T18:26:06.379Z","stale":false,"partial":false}}