CVE-2018-18020 Denial of service in n/a

Low 3.3 Published Updated

Remote attackers can cause a denial of service in QPDF via a crafted PDF file due to excessive recursion in the writer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-18020?

CVE-2018-18020 is a low-severity denial of service vulnerability in n/a, published on 6 Oct 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In QPDF 8.2.1, in libqpdf/QPDFWriter.cc, QPDFWriter::unparseObject and QPDFWriter::unparseChild have recursive calls for a long time, which allows remote attackers to cause a denial of service via a crafted PDF file.

Weakness: CWE-674

Which versions are affected by CVE-2018-18020?

It affects 1 product.

Products include Qpdf Project Qpdf.

How do I fix CVE-2018-18020?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-18020 being exploited?

There is no known exploitation of CVE-2018-18020 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-18020, GHSA-r676-q927-78rr, UBUNTU-CVE-2018-18020.

Is CVE-2018-18020 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free