Buffer overflow in Artifex Ghostscript
CVE-2018-10194
The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite component in Artifex Ghostscript through 9.22 does not prevent overflows in text-positioning calculation, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PDF document.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.021, 81.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Artifex Ghostscript
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Aus — versions 7.7
- Red Hat Enterprise Linux Server Eus — versions 7.5, 7.7
- Red Hat Enterprise Linux Server Tus — versions 7.7
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (0xCyberY/CVE-T4PDF, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2018:2918 (vendor-advisory, Third Party Advisory)
- GLSA-201811-12 (vendor-advisory, Third Party Advisory)
- git.ghostscript.com/
- [debian-lts-announce] 20180425 [SECURITY] [DLA 1363-1] ghostscript security update (mailing-list, Mailing List, Third Party Advisory)
- USN-3636-1 (vendor-advisory, Third Party Advisory)
- bugs.ghostscript.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- www.securitytracker.com/id/1040729 (Third Party Advisory, VDB Entry, vdb-entry)