Skip to content
OpenAdvisories
Unscored CVE-2018-19134 EUVD-2018-10846GHSA-r77j-73rg-4f8h

In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript docume…

Published Dec 20, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ghostscript 9.26~dfsg-1 —
Debian 13 ghostscript 9.26~dfsg-1 —
Debian 12 ghostscript 9.26~dfsg-1 —
Debian 9 ghostscript 9.26~dfsg-0+deb9u1 DSA-4346-1
Debian 8 ghostscript 9.06~dfsg-2+deb8u13 DLA-1620-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.18.04.1 —
Ubuntu 16.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.16.04.1 —
Ubuntu 14.04 LTS ghostscript 9.26~dfsg+0-0ubuntu0.14.04.1 —
ReleasePackageFixed inAdvisory
RHEL 7 ghostscript +4 9.07-31.el7_6.6 RHSA-2018:3834

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libgs +5 9.25-5.amzn2 ALAS2-2021-1598

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 ghostscript +4 9.07-31.el7_6.6 ELSA-2018-3834

Advisories 5

References