Heap-based buffer overflow in MuPDF - CVE-2017-17858
Published: January 22, 2018 / 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 ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0. A remote attacker can use a crafted PDF file 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
Arch Linux
Fedora
mupdf (Alpine package)
mupdf
How to mitigate CVE-2017-17858
mupdf (Alpine package) - update to 1.13.0-r0
mupdf - addressed in versions 1.12.0-2.fc26, 1.12.0-2.fc27
External References
Related Security Bulletins
- Heap-based buffer overflow in MuPDF
- Heap-based buffer overflow in mupdf (Alpine package)
- Arch Linux update for zathura-pdf-mupdf
- Arch Linux update for mupdf-tools
- Arch Linux update for libmupdf
- Arch Linux update for mupdf-gl
- Arch Linux update for mupdf
- Fedora 27 update for mupdf
- Fedora 26 update for mupdf