CVE-2017-9740
published 2017-07-26CVE-2017-9740: The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (heap-based…
PriorityP433high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
1.79%
75.8th percentile
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript | >= 0 < 9.22~dfsg-1 | 9.22~dfsg-1 |
| artifex | ghostscript_ghostxps | — | — |
| debian | ghostscript | < ghostscript 9.22~dfsg-1 (bookworm) | ghostscript 9.22~dfsg-1 (bookworm) |
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.8LOW
vendor_redhat7.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-p3w6-65m5-g9qx: The xps_decode_font_char_imp function in xps/xpsfont
ghsa_unreviewed·2022-05-13
CVE-2017-9740 [HIGH] CWE-125 GHSA-p3w6-65m5-g9qx: The xps_decode_font_char_imp function in xps/xpsfont
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.
OSV
CVE-2017-9740: The xps_decode_font_char_imp function in xps/xpsfont
osv·2017-07-26·CVSS 7.8
CVE-2017-9740 [HIGH] CVE-2017-9740: The xps_decode_font_char_imp function in xps/xpsfont
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.
Red Hat
ghostscript: Heap-buffer over-read in the xps_decode_font_char_imp function
vendor_redhat·2017-06-15·CVSS 7.8
CVE-2017-9740 [HIGH] CWE-122 ghostscript: Heap-buffer over-read in the xps_decode_font_char_imp function
ghostscript: Heap-buffer over-read in the xps_decode_font_char_imp function
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.
Package: ghostscript (Red Hat Enterprise Linux 5) - Will not fix
Package: ghostscript (Red Hat Enterprise Linux 6) - Will not fix
Package: ghostscript (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2017-9740: ghostscript - The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript Gh...
vendor_debian·2017·CVSS 7.8
CVE-2017-9740 [HIGH] CVE-2017-9740: ghostscript - The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript Gh...
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.
Scope: local
bookworm: resolved (fixed in 9.22~dfsg-1)
bullseye: resolved (fixed in 9.22~dfsg-1)
forky: resolved (fixed in 9.22~dfsg-1)
sid: resolved (fixed in 9.22~dfsg-1)
trixie: resolved (fixed in 9.22~dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-9610 CVE-2017-9611 CVE-2017-9612 CVE-2017-9618 CVE-2017-9619 CVE-2017-9620 CVE-2017-9726 CVE-2017-9727 CVE-2017-9739 CVE-2017-9740 CVE-2017-9835 ghostscript: various flaws [fedora-all]
bugzilla·2017-07-27·CVSS 7.8
CVE-2017-9610 [HIGH] CVE-2017-9610 CVE-2017-9611 CVE-2017-9612 CVE-2017-9618 CVE-2017-9619 CVE-2017-9620 CVE-2017-9726 CVE-2017-9727 CVE-2017-9739 CVE-2017-9740 CVE-2017-9835 ghostscript: various flaws [fedora-all]
CVE-2017-9610 CVE-2017-9611 CVE-2017-9612 CVE-2017-9618 CVE-2017-9619 CVE-2017-9620 CVE-2017-9726 CVE-2017-9727 CVE-2017-9739 CVE-2017-9740 CVE-2017-9835 ghostscript: various flaws [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 b
Bugzilla
CVE-2017-9740 ghostscript: Heap-buffer over-read in the xps_decode_font_char_imp function
bugzilla·2017-07-27·CVSS 7.8
CVE-2017-9740 [HIGH] CVE-2017-9740 ghostscript: Heap-buffer over-read in the xps_decode_font_char_imp function
CVE-2017-9740 ghostscript: Heap-buffer over-read in the xps_decode_font_char_imp function
The xps_decode_font_char_imp function in xps/xpsfont.c in Artifex Ghostscript GhostXPS 9.22 allows attackers to cause a denial of service (heap-based buffer over-read and application crash) or possibly have unspecified other impact via a crafted document.
Upstream patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=961b10cdd71403072fb99401a45f3bef6ce53626
Upstream issue:
https://bugs.ghostscript.com/show_bug.cgi?id=698064
Discussion:
Created ghostscript tracking bugs for this issue:
Affects: fedora-all [bug 1475838]
arXiv
Code-less Patching for Heap Vulnerabilities Using Targeted Calling Context Encoding
arxiv_fulltext·2018-12-11
Code-less Patching for Heap Vulnerabilities Using Targeted Calling Context Encoding
Code-less Patching for Heap Vulnerabilities Using Targeted Calling Context Encoding
comment
1st Given Name Surname
dept. name of organization (of Aff.)
name of organization (of Aff.)
City, Country
email address
2nd Given Name Surname
dept. name of organization (of Aff.)
name of organization (of Aff.)
City, Country
email address
3rd Given Name Surname
dept. name of organization (of Aff.)
name of organization (of Aff.)
City, Country
email address
4th Given Name Surname
dept. name of organization (of Aff.)
name of organization (of Aff.)
City, Country
email address
5th Given Name Surname
dept. name of organization (of Aff.)
name of organization (of Aff.)
City, Country
email address
6th Given Name Surname
dept. name of organization (of Aff.)
name of organization (of Aff.)
http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=961b10cdd71403072fb99401a45f3bef6ce53626http://www.securityfocus.com/bid/99983https://bugs.ghostscript.com/show_bug.cgi?id=698064https://security.gentoo.org/glsa/201811-12http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=961b10cdd71403072fb99401a45f3bef6ce53626http://www.securityfocus.com/bid/99983https://bugs.ghostscript.com/show_bug.cgi?id=698064https://security.gentoo.org/glsa/201811-12
2017-07-26
Published