CVE-2016-8729 Memory corruption in MuPDF

High 7.5 Published Updated

A memory corruption vulnerability in the JBIG2 parser allows attackers to execute arbitrary code via a specially crafted PDF file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-8729?

CVE-2016-8729 is a high-severity memory corruption vulnerability in Artifex Mupdf, published on 24 Apr 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An exploitable memory corruption vulnerability exists in the JBIG2 parser of Artifex MuPDF 1.9. A specially crafted PDF can cause a negative number to be passed to a memset resulting in memory corruption and potential code execution. An attacker can specially craft a PDF and send to the victim to trigger this vulnerability.

Weakness: CWE-119

Which versions are affected by CVE-2016-8729?

It affects 1 product.

Products include Artifex Mupdf.

How do I fix CVE-2016-8729?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-8729 being exploited?

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

All Artifex Mupdf vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-8729, GHSA-2cj5-5xv9-px48, UBUNTU-CVE-2016-8729.

Is CVE-2016-8729 in your software?

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

Check your SBOMs for free