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: 6.7 [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]
CVE-ID: CVE-2017-5896
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

MuPDF
Gentoo Linux
mupdf (Alpine package)

How to mitigate CVE-2017-5896

Update to version 1.10rc1.

MuPDF - update to 1.10 rc1
mupdf (Alpine package) - update to 1.10a-r1

External References

Related Security Bulletins