Heap-based buffer overflow in MuPDF - CVE-2017-5896
Published: February 15, 2017 / Updated: August 3, 2020
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
Gentoo Linux
mupdf (Alpine package)
How to mitigate CVE-2017-5896
mupdf (Alpine package) - update to 1.10a-r1
External References
- http://git.ghostscript.com/?p=mupdf.git;h=2c4e5867ee699b1081527bc6c6ea0e99a35a5c27
- http://www.debian.org/security/2017/dsa-3797
- http://www.openwall.com/lists/oss-security/2017/02/06/3
- http://www.openwall.com/lists/oss-security/2017/02/07/1
- http://www.securityfocus.com/bid/96139
- https://bugs.ghostscript.com/show_bug.cgi?id=697515
- https://security.gentoo.org/glsa/201702-12