CVE-2018-19478: Input Validation
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
Remediation
Patch Available
Event History
Frequently Asked Questions
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.
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.
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.
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.
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.