CVE-2018-10194
published 2018-04-18CVE-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…
PriorityP433high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
1.91%
77.4th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | <= 9.22 | — |
| artifex | ghostscript | >= 0 < 9.22~dfsg-2.1 | 9.22~dfsg-2.1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-2.1 | 9.22~dfsg-2.1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-2.1 | 9.22~dfsg-2.1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-2.1 | 9.22~dfsg-2.1 |
| artifex | ghostscript | >= 0 < 9.10~dfsg-0ubuntu10.12 | 9.10~dfsg-0ubuntu10.12 |
| artifex | ghostscript | >= 0 < 9.18~dfsg~0-0ubuntu2.8 | 9.18~dfsg~0-0ubuntu2.8 |
| artifex | ghostscript | >= 0 < 9.22~dfsg+1-0ubuntu1.1 | 9.22~dfsg+1-0ubuntu1.1 |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | ghostscript | < ghostscript 9.22~dfsg-2.1 (bookworm) | ghostscript 9.22~dfsg-2.1 (bookworm) |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-x8vv-69hx-8rmh: The set_text_distance function in devices/vector/gdevpdts
ghsa_unreviewed·2022-05-14
CVE-2018-10194 [HIGH] CWE-119 GHSA-x8vv-69hx-8rmh: The set_text_distance function in devices/vector/gdevpdts
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.
OSV
ghostscript vulnerabilities
osv·2018-04-30·CVSS 7.8
CVE-2016-10317 [HIGH] ghostscript vulnerabilities
ghostscript vulnerabilities
It was discovered that Ghostscript incorrectly handled certain PostScript
files. An attacker could possibly use this to cause a denial of server.
(CVE-2016-10317)
It was discovered that Ghostscript incorrectly handled certain PDF files.
An attacker could possibly use this to cause a denial of service.
(CVE-2018-10194)
OSV
CVE-2018-10194: The set_text_distance function in devices/vector/gdevpdts
osv·2018-04-18·CVSS 7.8
CVE-2018-10194 [HIGH] CVE-2018-10194: The set_text_distance function in devices/vector/gdevpdts
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.
Ubuntu
Ghostscript vulnerabilities
vendor_ubuntu·2018-04-30·CVSS 7.8
CVE-2016-10317 [HIGH] Ghostscript vulnerabilities
Title: Ghostscript vulnerabilities
Summary: Several security issues were fixed in Ghostscript.
It was discovered that Ghostscript incorrectly handled certain PostScript
files. An attacker could possibly use this to cause a denial of server.
(CVE-2016-10317)
It was discovered that Ghostscript incorrectly handled certain PDF files.
An attacker could possibly use this to cause a denial of service.
(CVE-2018-10194)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
vendor_redhat·2018-04-20·CVSS 7.8
CVE-2018-10194 [HIGH] CWE-119 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
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.
Statement: Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errat
Debian
CVE-2018-10194: ghostscript - The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite comp...
vendor_debian·2018·CVSS 7.8
CVE-2018-10194 [HIGH] CVE-2018-10194: ghostscript - The set_text_distance function in devices/vector/gdevpdts.c in the pdfwrite comp...
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.
Scope: local
bookworm: resolved (fixed in 9.22~dfsg-2.1)
bullseye: resolved (fixed in 9.22~dfsg-2.1)
forky: resolved (fixed in 9.22~dfsg-2.1)
sid: resolved (fixed in 9.22~dfsg-2.1)
trixie: resolved (fixed in 9.22~dfsg-2.1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-10194 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c [fedora-all]
bugzilla·2018-04-20·CVSS 7.8
CVE-2018-10194 [HIGH] CVE-2018-10194 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c [fedora-all]
CVE-2018-10194 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this
Bugzilla
CVE-2018-10194 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
bugzilla·2018-04-18·CVSS 7.8
CVE-2018-10194 [HIGH] CVE-2018-10194 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
CVE-2018-10194 ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
pdf_set_text_matrix in gdevpdts.c in Artifex Ghostscript through 9.18 allows remote attackers to cause a denial of service (spprint.c pprintg1 stack-based out-of-bounds write) or possibly execute arbitrary code via a crafted PDF document.
Discussion:
Upstream ticket:
https://bugs.ghostscript.com/show_bug.cgi?id=699255
Upstream patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=39b1e54b2968620723bf32e96764c88797714879
---
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1569821]
---
oss-security:
http://www.openwall.com/lists/oss-security/2018/04/19/5
---
Statement:
Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=39b1e54b2968620723bf32e96764c88797714879http://www.securitytracker.com/id/1040729https://access.redhat.com/errata/RHSA-2018:2918https://bugs.ghostscript.com/show_bug.cgi?id=699255https://lists.debian.org/debian-lts-announce/2018/04/msg00028.htmlhttps://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3636-1/http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=39b1e54b2968620723bf32e96764c88797714879http://www.securitytracker.com/id/1040729https://access.redhat.com/errata/RHSA-2018:2918https://bugs.ghostscript.com/show_bug.cgi?id=699255https://lists.debian.org/debian-lts-announce/2018/04/msg00028.htmlhttps://security.gentoo.org/glsa/201811-12https://usn.ubuntu.com/3636-1/
2018-04-18
Published