Use-after-free in Ghostscript - CVE-2018-16540

 

Use-after-free in Ghostscript - CVE-2018-16540

Published: September 9, 2018


Vulnerability identifier: #VU14734
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-16540
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in copydevice handling. A remote attacker can supply specially crafted PostScript files to the builtin PDF14 converter and crash the application or execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Ghostscript
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power

How to mitigate CVE-2018-16540

Install update from vendor's website.


External References

Related Security Bulletins