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

Medium 5.5 Published Updated

Remote attackers can cause a denial of service via a crafted PDF file due to an infinite loop in the MuPDF library.

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-5686?

CVE-2018-5686 is a medium-severity denial of service vulnerability in Artifex Mupdf, published on 14 Jan 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 MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF is not considered. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted pdf file.

Weakness: CWE-835

Which versions are affected by CVE-2018-5686?

It affects 2 products.

Products include Artifex Mupdf, Debian Debian Linux.

How do I fix CVE-2018-5686?

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-5686 being exploited?

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

All Artifex Mupdf vulnerabilities

Sources

Also known as ALPINE-CVE-2018-5686, DEBIAN-CVE-2018-5686, GHSA-6j78-9283-gj3w, UBUNTU-CVE-2018-5686.

Is CVE-2018-5686 in your software?

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

Check your SBOMs for free