CVE-2017-9727
The gx_ttfReader__Read function in base/gxttfb.c in Artifex Ghostscript GhostXPS 9.21 allows...
CVE-2017-9727 is a high vulnerability (CVSS 7.8) in Artifex Ghostscript Ghostxps, published July 26, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.53%, the 84th percentile. Fixed in ghostscript 9.22~dfsg-1.
The gx_ttfReader__Read function in base/gxttfb.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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
The gx_ttfReader__Read function in base/gxttfb.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.
- Record
CVE-2017-9727- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
The gx_ttfReader__Read function in base/gxttfb.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.
- Record
CVE-2017-9727- Updated
- 2026-11-02
EUVDEUVD-2017-18658 No score
The gx_ttfReader__Read function in base/gxttfb.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.
- Record
EUVD-2017-18658- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wc22-rp5h-f6hw
7.8
The gx_ttfReader__Read function in base/gxttfb.c in Artifex Ghostscript GhostXPS 9.21 allows...
The gx_ttfReader__Read function in base/gxttfb.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.
- Record
GHSA-wc22-rp5h-f6hw- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVBELL-CVE-2017-9727
7.8
CVE-2017-9727 does not affect BellSoft software
- Record
BELL-CVE-2017-9727- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
The gx_ttfReader__Read function in base/gxttfb.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.
- Record
CVE-2017-9727- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2017-9727
7.8
The gx_ttfReader__Read function in base/gxttfb.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.
- Record
DEBIAN-CVE-2017-9727- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-9727
7.8
The gx_ttfReader__Read function in base/gxttfb.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.
- Record
UBUNTU-CVE-2017-9727- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0355 No score
Updated ghostscript packages fix security vulnerabilities
The Ins_MIRP function in base/ttinterp.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. (CVE-2017-9611)
The Ins_IP function in base/ttinterp.c in Artifex Ghostscript GhostXPS 9.21 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact via a crafted document. (CVE-2017-9612)
The Ins_MDRP function in base/ttinterp.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. (CVE-2017-9726)
The gx_ttfReader__Read function in base/gxttfb.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. (CVE-2017-9727)
The Ins_JMPR function in base/ttinterp.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. (CVE-2017-9739)
The gs_alloc_ref_array function in psi/ialloc.c in Artifex Ghostscript 9.21 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document. This is related to a lack of an integer overflow check in base/gsalloc.c. (CVE-2017-9835)
psi/ztoken.c in Artifex Ghostscript 9.21 mishandles references to the scanner state structure, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PostScript document, related to an out-of-bounds read in the igc_reloc_struct_ptr function in psi/igc.c. (CVE-2017-11714)
- Record
MGASA-2017-0355- Updated
- 2026-11-02
OSVSUSE-SU-2018:0407-1 No score
Security update for ghostscript
This update for ghostscript fixes several issues.
These security issues were fixed:
- CVE-2017-9835: The gs_alloc_ref_array function allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document (bsc#1050879).
- CVE-2017-9216: Prevent NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c which allowed for DoS (bsc#1040643).
- CVE-2016-10317: The fill_threshhold_buffer function in base/gxht_thresh.c allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document (bsc#1032230).
- CVE-2017-9612: The Ins_IP function in base/ttinterp.c allowed remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact via a crafted document (bsc#1050891).
- CVE-2017-9726: The Ins_MDRP function in base/ttinterp.c allowed 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 (bsc#1050889).
- CVE-2017-9727: The gx_ttfReader__Read function in base/gxttfb.c allowed 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 (bsc#1050888).
- CVE-2017-9739: The Ins_JMPR function in base/ttinterp.c allowed 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 (bsc#1050887).
- CVE-2017-11714: psi/ztoken.c mishandled references to the scanner state structure, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PostScript document, related to an out-of-bounds read in the igc_reloc_struct_ptr function in psi/igc.c (bsc#1051184).
- CVE-2016-10219: The intersect function in base/gxfill.c allowed remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted file (bsc#1032138).
- Record
SUSE-SU-2018:0407-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:1140-1 No score
Security update for ghostscript-library
This update for ghostscript-library fixes several issues.
These security issues were fixed:
- CVE-2017-7207: The mem_get_bits_rectangle function allowed remote attackers to cause a denial of service (NULL pointer dereference) via a crafted PostScript document (bsc#1030263).
- CVE-2016-9601: Prevent heap-buffer overflow by checking for an integer overflow in jbig2_image_new function (bsc#1018128).
- CVE-2017-9612: The Ins_IP function in base/ttinterp.c allowed remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact via a crafted document (bsc#1050891)
- CVE-2017-9726: The Ins_MDRP function in base/ttinterp.c allowed 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 (bsc#1050889)
- CVE-2017-9727: The gx_ttfReader__Read function in base/gxttfb.c allowed 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 (bsc#1050888)
- CVE-2017-9739: The Ins_JMPR function in base/ttinterp.c allowed 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 (bsc#1050887)
- CVE-2017-11714: psi/ztoken.c mishandled references to the scanner state structure, which allowed remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted PostScript document, related to an out-of-bounds read in the igc_reloc_struct_ptr function in psi/igc.c (bsc#1051184)
- CVE-2017-9835: The gs_alloc_ref_array function allowed remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted PostScript document (bsc#1050879)
- CVE-2016-10219: The intersect function in base/gxfill.c allowed remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted file (bsc#1032138)
- CVE-2017-9216: Prevent NULL pointer dereference in the jbig2_huffman_get function in jbig2_huffman.c which allowed for DoS (bsc#1040643)
- Record
SUSE-SU-2018:1140-1- Updated
- 2026-11-02
OSVUSN-3403-1 No score
ghostscript vulnerabilities
Kamil Frankowicz discovered that Ghostscript mishandles references. A remote attacker could use this to cause a denial of service. (CVE-2017-11714)
Kim Gwan Yeong discovered that Ghostscript could allow a heap-based buffer over-read and application crash. A remote attacker could use a crafted document to cause a denial of service. (CVE-2017-9611, CVE-2017-9726, CVE-2017-9727, CVE-2017-9739)
Kim Gwan Yeong discovered an use-after-free vulnerability in Ghostscript. A remote attacker could use a crafted file to cause a denial of service. (CVE-2017-9612)
Kim Gwan Yeong discovered a lack of integer overflow check in Ghostscript. A remote attacker could use crafted PostScript document to cause a denial of service. (CVE-2017-9835)
- Record
USN-3403-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ghostscriptDebian:12 |
before 9.22~dfsg-1 | 9.22~dfsg-1 |
ghostscriptDebian:13 |
before 9.22~dfsg-1 | 9.22~dfsg-1 |
ghostscriptDebian:14 |
before 9.22~dfsg-1 | 9.22~dfsg-1 |
ghostscriptDebian:7 |
before 9.05~dfsg-6.3+deb7u7, plus listed versions 9.05~dfsg-6.39.05~dfsg-6.3+deb7u19.05~dfsg-6.3+deb7u29.05~dfsg-6.3+deb7u39.05~dfsg-6.3+deb7u49.05~dfsg-6.3+deb7u59.05~dfsg-6.3+deb7u6 |
9.05~dfsg-6.3+deb7u7 |
ghostscriptDebian:8 |
before 9.06~dfsg-2+deb8u6, plus listed versions 9.06~dfsg-29.06~dfsg-2+deb8u19.06~dfsg-2+deb8u29.06~dfsg-2+deb8u39.06~dfsg-2+deb8u49.06~dfsg-2+deb8u5 |
9.06~dfsg-2+deb8u6 |
ghostscriptDebian:9 |
before 9.20~dfsg-3.2+deb9u1, plus listed versions 9.20~dfsg-3.2 |
9.20~dfsg-3.2+deb9u1 |
ghostscriptMageia:5 |
before 9.20-1.1.mga5 | 9.20-1.1.mga5 |
ghostscriptMageia:6 |
before 9.20-3.1.mga6 | 9.20-3.1.mga6 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP2 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Desktop 12 SP3 |
before 9.15-23.7.1 | 9.15-23.7.1 |
Show 12 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ghostscriptSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP2 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP2 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server 12 SP3 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscriptSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 9.15-23.7.1 | 9.15-23.7.1 |
ghostscript-librarySUSE:Linux Enterprise Software Development Kit 11 SP4 |
before 8.62-32.47.7.1 | 8.62-32.47.7.1 |
ghostscript-librarySUSE:Linux Enterprise Server 11 SP4 |
before 8.62-32.47.7.1 | 8.62-32.47.7.1 |
ghostscript-librarySUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 8.62-32.47.7.1 | 8.62-32.47.7.1 |
ghostscriptUbuntu:14.04:LTS |
before 9.10~dfsg-0ubuntu10.10, plus listed versions 9.10~dfsg-0ubuntu29.10~dfsg-0ubuntu39.10~dfsg-0ubuntu49.10~dfsg-0ubuntu59.10~dfsg-0ubuntu6 Show 12 moreShow less9.10~dfsg-0ubuntu79.10~dfsg-0ubuntu89.10~dfsg-0ubuntu99.10~dfsg-0ubuntu109.10~dfsg-0ubuntu10.19.10~dfsg-0ubuntu10.29.10~dfsg-0ubuntu10.39.10~dfsg-0ubuntu10.49.10~dfsg-0ubuntu10.59.10~dfsg-0ubuntu10.69.10~dfsg-0ubuntu10.79.10~dfsg-0ubuntu10.9 |
9.10~dfsg-0ubuntu10.10 |
ghostscriptUbuntu:16.04:LTS |
before 9.18~dfsg~0-0ubuntu2.7, plus listed versions 9.16~dfsg~0-0ubuntu39.16~dfsg~0-0ubuntu49.18~dfsg~0-0ubuntu19.18~dfsg~0-0ubuntu29.18~dfsg~0-0ubuntu2.29.18~dfsg~0-0ubuntu2.39.18~dfsg~0-0ubuntu2.49.18~dfsg~0-0ubuntu2.6 |
9.18~dfsg~0-0ubuntu2.7 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
security.gentoo.org/glsa/201811-12
git.ghostscript.com?p=ghostpdl.git%3Ba=commit%3Bh=937ccd17ac65935633b2ebc06cb7089b91e17e6b
debian.org/security/2017/dsa-3986
securityfocus.com/bid/99999
bugs.ghostscript.com/show_bug.cgi?id=698056
nvd.nist.gov/vuln/detail/CVE-2017-9727
Show 40 moreShow less
git.ghostscript.com?p=ghostpdl.git;a=commit;h=937ccd17ac65935633b2ebc06cb7089b91e17e6b
github.com/advisories/GHSA-wc22-rp5h-f6hw
docs.bell-sw.com/security/cves/CVE-2017-9727
security-tracker.debian.org/tracker/CVE-2017-9727
advisories.mageia.org/MGASA-2017-0355.html
bugs.mageia.org/show_bug.cgi?id=21630
usn.ubuntu.com/usn/usn-3403-1
suse.com/support/update/announcement/2018/suse-su-20180407-1
bugzilla.suse.com/1032138
bugzilla.suse.com/1032230
bugzilla.suse.com/1040643
bugzilla.suse.com/1050879
bugzilla.suse.com/1050887
bugzilla.suse.com/1050888
bugzilla.suse.com/1050889
bugzilla.suse.com/1050891
bugzilla.suse.com/1051184
suse.com/security/cve/CVE-2016-10219
suse.com/security/cve/CVE-2016-10317
suse.com/security/cve/CVE-2017-11714
suse.com/security/cve/CVE-2017-9216
suse.com/security/cve/CVE-2017-9612
suse.com/security/cve/CVE-2017-9726
suse.com/security/cve/CVE-2017-9727
suse.com/security/cve/CVE-2017-9739
suse.com/security/cve/CVE-2017-9835
suse.com/support/update/announcement/2018/suse-su-20181140-1
bugzilla.suse.com/1018128
bugzilla.suse.com/1030263
suse.com/security/cve/CVE-2016-9601
suse.com/security/cve/CVE-2017-7207
ubuntu.com/security/CVE-2017-9727
ubuntu.com/security/notices/USN-3403-1
cve.org/CVERecord?id=CVE-2017-9727
ubuntu.com/security/CVE-2017-9611
ubuntu.com/security/CVE-2017-9612
ubuntu.com/security/CVE-2017-9726
ubuntu.com/security/CVE-2017-9739
ubuntu.com/security/CVE-2017-9835
ubuntu.com/security/CVE-2017-11714