7.8
CWE
704
Advisory Published
CVE Published
Updated

CVE-2018-19134: Incorrect Type Cast

First published: Mon Dec 03 2018(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Artifex Ghostscript<=9.25
Debian Debian Linux=8.0
Redhat Enterprise Linux Desktop=7.0
Redhat Enterprise Linux Server=7.0
Redhat Enterprise Linux Server Aus=7.6
Redhat Enterprise Linux Server Eus=7.6
Redhat Enterprise Linux Workstation=7.0
redhat/ghostscript<9.26
9.26
debian/ghostscript
9.27~dfsg-2+deb10u5
9.27~dfsg-2+deb10u9
9.53.3~dfsg-7+deb11u6
9.53.3~dfsg-7+deb11u5
10.0.0~dfsg-11+deb12u2
10.0.0~dfsg-11+deb12u3
10.02.1~dfsg-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2018-19134?

    CVE-2018-19134 is a vulnerability in Artifex Ghostscript through 9.25 that allows a specially crafted PostScript document to execute arbitrary code or crash Ghostscript.

  • How can the setpattern operator in Artifex Ghostscript be exploited?

    The setpattern operator in Artifex Ghostscript through 9.25 can be exploited by a specially crafted PostScript document to crash Ghostscript or execute arbitrary code in the context of the Ghostscript process.

  • What is the severity of CVE-2018-19134?

    CVE-2018-19134 has a severity score of 7.8, indicating a high severity.

  • Which software versions are affected by CVE-2018-19134?

    Artifex Ghostscript through 9.25 is affected by CVE-2018-19134.

  • How can I mitigate the vulnerability in Artifex Ghostscript?

    To mitigate the vulnerability in Artifex Ghostscript, update to version 9.27~dfsg-2+deb10u5 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203