CVE-2018-16542 Denial of service in n/a
Attackers can crash the Ghostscript interpreter by supplying crafted PostScript files due to insufficient stack-size checking during error handling.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-16542?
CVE-2018-16542 is a medium-severity denial of service vulnerability in Artifex Ghostscript, published on 5 Sep 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files could use insufficient interpreter stack-size checking during error handling to crash the interpreter.
Weakness: CWE-787
Which versions are affected by CVE-2018-16542?
It affects 8 products.
Products include Artifex Ghostscript, Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 2 more.
How do I fix CVE-2018-16542?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2018-16542 being exploited?
There is no known exploitation of CVE-2018-16542 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as DEBIAN-CVE-2018-16542, GHSA-rpj7-rf55-hgch, UBUNTU-CVE-2018-16542.