Buffer overflow in MuPDF - CVE-2016-8729

 

Buffer overflow in MuPDF - CVE-2016-8729

Published: April 24, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU37160
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2016-8729
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Artifex Software, Inc.
Affected software:
MuPDF

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


How to mitigate CVE-2016-8729

Install update from vendor's website.

Sources