CVE-2018-10194: Buffer Overflow

Published Apr 18, 2018
·
Updated

Last updated 25 August 2025

Other sources

pdfsettextmatrix 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.

Red Hat

The settextdistance 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.

Launchpad

Affected Software

15 affected componentsFixes available
redhat/ghostscript<9.24
9.24
Artifex Ghostscript<=9.22
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
Debian Debian Linux=7.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.7
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Workstation=7.0
debian/ghostscript
9.53.3~dfsg-7+deb11u79.53.3~dfsg-7+deb11u1110.0.0~dfsg-11+deb12u810.05.1~dfsg-1+deb13u110.06.0~dfsg-3

Event History

Apr 18, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:29 PM
DescriptionSeverityWeaknessAffected Software
Feb 19, 2026
Data Sourced
via Ubuntu·03:57 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·03:57 PM
DescriptionAffected Software
Data Sourced
via Launchpad·03:58 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2018-10194?

CVE-2018-10194 has been rated as a high severity vulnerability due to its potential for remote code execution and denial of service.

2

How do I fix CVE-2018-10194?

To fix CVE-2018-10194, upgrade to Ghostscript versions 9.24 or later for Red Hat and 9.21~dfsg+1-0ubuntu3.1 for Ubuntu.

3

What should I do if I cannot upgrade to a patched version for CVE-2018-10194?

If you cannot upgrade, consider implementing strict access controls or disabling the use of Ghostscript to mitigate the risks associated with CVE-2018-10194.

4

What type of exploit is associated with CVE-2018-10194?

CVE-2018-10194 is associated with stack-based buffer overflow vulnerabilities that can be triggered by processing crafted PDF documents.

5

Are there any known exploits for CVE-2018-10194?

Yes, CVE-2018-10194 can be exploited through specially crafted PDF files that cause denial of service or arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203