CVEfocus › CVE database › CVE-2018-19475

CVE-2018-19475

CVSS 7.8 HighEPSS 9.5% (higher than 96% of CVEs)Published 2018-11-23Updated 2024-08-05Assigner: mitre

psi/zdevice2.c in Artifex Ghostscript before 9.26 allows remote attackers to bypass intended access restrictions because available stack space is not checked when the device remains the same.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

31Fixed
5Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04ghostscriptFixed9.26~dfsg+0-0ubuntu0.18.04.1UBUNTU-CVE-2018-19475
Ubuntu 16.04ghostscriptFixed9.26~dfsg+0-0ubuntu0.16.04.1UBUNTU-CVE-2018-19475
Ubuntu 14.04ghostscriptFixed9.26~dfsg+0-0ubuntu0.14.04.1UBUNTU-CVE-2018-19475
Debian 14ghostscriptFixed9.26~dfsg-1DEBIAN-CVE-2018-19475
Debian 13ghostscriptFixed9.26~dfsg-1DEBIAN-CVE-2018-19475
Debian 12ghostscriptFixed9.26~dfsg-1DEBIAN-CVE-2018-19475
Red Hat Enterprise Linux 8ghostscriptNot affected
Red Hat Enterprise Linux 8ghostscript-docNot affected
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 8ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 8ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 8ghostscript-x11Not affected
Red Hat Enterprise Linux 8libgsNot affected
Red Hat Enterprise Linux 8libgs-develNot affected
Red Hat Enterprise Linux 7ghostscriptFixed0:9.07-31.el7_6.9RHSA-2019:0229
Red Hat Enterprise Linux 7ghostscript-cupsFixed0:9.07-31.el7_6.9RHSA-2019:0229
Red Hat Enterprise Linux 7ghostscript-develFixed0:9.07-31.el7_6.9RHSA-2019:0229
Red Hat Enterprise Linux 7ghostscript-docFixed0:9.07-31.el7_6.9RHSA-2019:0229
Red Hat Enterprise Linux 7ghostscript-gtkFixed0:9.07-31.el7_6.9RHSA-2019:0229
Red Hat Enterprise Linux 6ghostscriptWill not fix
Will not fix
Red Hat Enterprise Linux 6ghostscript-develWill not fix
Will not fix
Red Hat Enterprise Linux 6ghostscript-docWill not fix
Will not fix
Red Hat Enterprise Linux 6ghostscript-gtkWill not fix
Will not fix
Red Hat Enterprise Linux 5ghostscriptWill not fix
Will not fix
Alpine Linux 3.24ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.23ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.22ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.21ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.20ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.19ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.18ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.17ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.16ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.15ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.14ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.13ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.12ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.11ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.10ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.9ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.8ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.7ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.6ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475
Alpine Linux 3.5ghostscriptFixed9.26-r0ALPINE-CVE-2018-19475

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.