Heap-based buffer overflow in MuPDF - CVE-2017-5896

 

Heap-based buffer overflow in MuPDF - CVE-2017-5896

Published: February 15, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33157
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-5896
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Artifex Software, Inc.
Affected software:
MuPDF

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the fz_subsample_pixmap function in fitz/pixmap.c in MuPDF 1.10a. A remote attacker can use a crafted image. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2017-5896

Update to version 1.10rc1.

Sources