ghostscript: Stack-based out-of-bounds write in pdf_set_text_matrix function in gdevpdts.c
Published Apr 18, 2018
7.8
HIGHCVSS 3.0
EPSS 1.80%
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.
Affected products
No data.
Configuration 1
- ≤ 9.22
Configuration 2
- 14.04
- 16.04
- 17.10
- 18.04
Configuration 3
- 7.0
Configuration 4
- 7.0
- 7.0
- 7.7
- 7.5
- 7.7
- 7.7
- 7.0
No data.
Red Hat Enterprise Linux 7
ghostscript-0:9.07-29.el7_5.2
Fixed · RHSA-2018:2918
Red Hat Enterprise Linux 5
ghostscript
Will not fix
Red Hat Enterprise Linux 6
ghostscript
Will not fix
Red Hat Enterprise Linux 8
ghostscript
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ghostscript-0:9.07-29.el7_5.2 | Fixed | RHSA-2018:2918 |
| Red Hat Enterprise Linux 5 | ghostscript | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | ghostscript | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | ghostscript | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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/errata/.
Red Hat mitigation
Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.80% (0.01802) | 77.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.29% (0.02289) | 80.89th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.15% (0.00150) | 33.06th | v4 (v2025.03.14) |
| Jul 20, 2024 | 1.51% (0.01512) | 87.14th | v3 (v2023.03.01) |
| Mar 28, 2024 | 1.51% (0.01512) | 86.70th | v3 (v2023.03.01) |
| Feb 26, 2024 | 1.07% (0.01071) | 83.80th | v3 (v2023.03.01) |
| Sep 9, 2023 | 0.76% (0.00757) | 78.84th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.66% (0.00655) | 76.89th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.47% (0.00471) | 71.81th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.58% (0.02580) | 55.23th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.58% (0.02580) | 0.00th | v1 |
References (11)
- http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=39b1e54b2968620723bf32e96764c88797714879 x_refsource_MISC
- http://www.securitytracker.com/id/1040729 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2918 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-10194 Vendor Advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=699255 x_refsource_MISCIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1569108 Issue Tracking
- https://lists.debian.org/debian-lts-announce/2018/04/msg00028.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-10194
- https://security.gentoo.org/glsa/201811-12 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3636-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-10194
| Link | Providers | Tags |
|---|---|---|
| http://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=39b1e54b2968620723bf32e96764c88797714879 | x_refsource_MISC | |
| http://www.securitytracker.com/id/1040729 | vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/errata/RHSA-2018:2918 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-10194 | Vendor Advisory | |
| https://bugs.ghostscript.com/show_bug.cgi?id=699255 | x_refsource_MISCIssue TrackingVendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1569108 | Issue Tracking | |
| https://lists.debian.org/debian-lts-announce/2018/04/msg00028.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-10194 | ||
| https://security.gentoo.org/glsa/201811-12 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://usn.ubuntu.com/3636-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-10194 |
Change history (0)
No recorded changes yet.