CVE-2018-16540
Vulnerability Summary
Timeline
Description
In Artifex Ghostscript before 9.24, attackers able to supply crafted PostScript files to the builtin PDF14 converter could use a use-after-free in copydevice handling to crash the interpreter or possibly have unspecified other impact.
CVSS Metrics
- v3.0•HIGH•Score: 7.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 1.56%• Percentile: 74%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- artifex•ghostscript
< 9.24
- canonical•ubuntu_linux
14.04 | 16.04 | 18.04
- debian•ghostscript
< 9.22~dfsg-3 | < 9.22~dfsg-3 | < 9.22~dfsg-3 | < 9.22~dfsg-3
- debian•debian_linux
8.0 | 9.0
- redhat•enterprise_linux
7.0
- redhat•enterprise_linux_desktop
7.0
- redhat•enterprise_linux_server
7.0 | 7.6
- redhat•enterprise_linux_server_aus
7.6
- redhat•enterprise_linux_server_eus
7.5 | 7.6
- redhat•enterprise_linux_server_tus
7.6
- redhat•enterprise_linux_workstation
7.0
- redhat•openshift_container_platform
3.11
References (10)
- https://access.redhat.com/errata/RHSA-2019:0229
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=c432131c3fdb2143e148e8ba88555f7f7a63b25e
- https://security.gentoo.org/glsa/201811-12
- https://bugs.ghostscript.com/show_bug.cgi?id=699661
- https://usn.ubuntu.com/3768-1/
- https://www.artifex.com/news/ghostscript-security-resolved/
- https://www.debian.org/security/2018/dsa-4288
- https://lists.debian.org/debian-lts-announce/2018/09/msg00015.html
- https://access.redhat.com/errata/RHBA-2019:0327
- https://security-tracker.debian.org/tracker/CVE-2018-16540