CVE-2017-18186 Denial of service in n/a

Medium 5.5 Published Updated

An attacker can cause a denial of service via an infinite loop in QPDF by providing a crafted PDF with looping xref tables.

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-2017-18186?

CVE-2017-18186 is a medium-severity denial of service vulnerability in n/a, published on 13 Feb 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

An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.

Weakness: CWE-835

Which versions are affected by CVE-2017-18186?

It affects 1 product.

Products include Qpdf Project Qpdf.

How do I fix CVE-2017-18186?

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-2017-18186 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-18186, GHSA-v5gm-hmrc-rgfq, UBUNTU-CVE-2017-18186.

Is CVE-2017-18186 in your software?

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

Check your SBOMs for free