CVE-2018-19478: Input Validation

Published Dec 3, 2018
·
Updated

Attempting to open a carefully crafted PDF results in a long-running computation. The page tree nodes are deeply nested where a child page tree node may be a descendent of multiple parents.

Upstream bug: https://bugs.ghostscript.com/showbug.cgi?id=699856

Upstream fix: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0a7e5a1c309fa0911b892fa40996a7d55d90bace

Other sources

In Artifex Ghostscript before 9.26, a carefully crafted PDF file can trigger an extremely long running computation when parsing the file.

Affected Software

4 affected componentsFixes available
debian/ghostscript
9.27~dfsg-2+deb10u59.27~dfsg-2+deb10u99.53.3~dfsg-7+deb11u69.53.3~dfsg-7+deb11u510.0.0~dfsg-11+deb12u210.0.0~dfsg-11+deb12u310.02.1~dfsg-1
redhat/ghostscript<9.26
9.26
Artifex Ghostscript<9.26
Debian Debian Linux=8.0

Event History

Dec 3, 2018
Data Sourced
via Red Hat·02:28 PM
DescriptionSeverityAffected Software
Jan 2, 2019
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2018-19478?

CVE-2018-19478 has a severity rating of medium due to potential Denial of Service through long-running computations when opening crafted PDFs.

2

How do I fix CVE-2018-19478?

To fix CVE-2018-19478, update Ghostscript to a version higher than 9.26 or apply the relevant patches provided by the operating system vendor.

3

Which versions of Ghostscript are affected by CVE-2018-19478?

CVE-2018-19478 affects Ghostscript versions up to 9.26, including certain Debian and Red Hat packages.

4

What is the nature of the issue in CVE-2018-19478?

CVE-2018-19478 is caused by deeply nested page tree nodes in a crafted PDF, leading to excessive processing time.

5

Is there a temporary workaround for CVE-2018-19478?

A temporary workaround for CVE-2018-19478 is to avoid opening untrusted or unknown PDF files that could exploit this vulnerability.

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