CVE-2018-16541 Use after free in n/a
Attackers can crash the Ghostscript interpreter by supplying crafted PostScript files that trigger a use-after-free error in pagedevice replacement logic.
- 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-16541?
CVE-2018-16541 is a medium-severity use after free 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 incorrect free logic in pagedevice replacement to crash the interpreter.
Weakness: CWE-416
Which versions are affected by CVE-2018-16541?
It affects 9 products.
Products include Artifex Ghostscript, Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 3 more.
How do I fix CVE-2018-16541?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-16541 being exploited?
There is no known exploitation of CVE-2018-16541 in the wild and no public exploit code.
Other vulnerabilities in Artifex Ghostscript
Sources
Also known as DEBIAN-CVE-2018-16541, GHSA-m76g-5q68-xv2c, UBUNTU-CVE-2018-16541.