CVE-2018-19134: artifex ghostscript Incorrect Type Conversion or Cast
Vulnerability summary
CVE-2018-19134 is a high (CVSS 7.8) Incorrect Type Conversion or Cast vulnerability in artifex ghostscript. EPSS estimates a 2.87% chance of exploitation in the next 30 days, higher than 86.8% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3Timeline
- 20-12-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.87%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.87% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (semmle.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat5 products
Debian2 products
- ghostscript< 9.26~dfsg-1
- debian_linuxEOL8.0
Artifex1 product
- ghostscript≤ 9.25
Ubuntu1 product
- ghostscript< 9.26~dfsg+0-0ubuntu0.14.04.1 | < 9.26~dfsg+0-0ubuntu0.16.04.1 | < 9.26~dfsg+0-0ubuntu0.18.04.1
4 vendors · 9 products
References
10 links- bugs.ghostscript.com/show_bug.cgi?id=700141X Refsource CONFIRMIssue TrackingPermissions RequiredThird Party Advisory
- semmle.com/news/semmle-discovers-severe-vulnerability-ghostscript-postscript-pdfX Refsource MISCExploitThird Party Advisory
- lists.debian.org/debian-lts-announce/2018/12/msg00019.htmlMailing ListX Refsource MLISTThird Party Advisory