CVE-2018-10194
ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
Overview
Description
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-119
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 20 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | ghostscript +4 | 9.07-29.el7_5.2 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | ghostscript +4 | 0:9.07-29.el7_5.2 | RHSA-2018:2918 |
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | wireshark | 2.4.6-r0 |
| 3.22 | ghostscript | 9.23-r0 |
| 3.23 | wireshark | 2.4.6-r0 |
| 3.23 | ghostscript | 9.23-r0 |
| 3.24 | wireshark | 2.4.6-r0 |
| 3.24 | ghostscript | 9.23-r0 |
2 more rows
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ghostscript | 9.22~dfsg-2.1 |
| 12 | ghostscript | 9.22~dfsg-2.1 |
| 13 | ghostscript | 9.22~dfsg-2.1 |
| 14 | ghostscript | 9.22~dfsg-2.1 |
| 9 | ghostscript | 9.20~dfsg-3.2+deb9u2 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ghostscript | 9.22~dfsg-2.1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ghostscript +2 | 9.54.0-2.2 | openSUSE-SU-2024:10783-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-ghostscript | 9.22~dfsg-2.1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | ghostscript | 9.22~dfsg+1-0ubuntu1.1 |
| 18.04-ESM | ghostscript | 9.22~dfsg+1-0ubuntu1.1 |
References
- git.ghostscript.com http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=39b1e54b2968620723bf32e96764c88797714879
- www.securitytracker.com http://www.securitytracker.com/id/1040729
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2918
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-10194
- bugs.ghostscript.com https://bugs.ghostscript.com/show_bug.cgi?id=699255
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-10194.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2018-2918.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/04/msg00028.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-10194
- security.gentoo.org https://security.gentoo.org/glsa/201811-12
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.