CVE-2017-17858 Memory corruption in n/a
Remote attackers can execute arbitrary code via crafted PDF files due to a heap-based buffer overflow in the MuPDF library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-17858?
CVE-2017-17858 is a high-severity memory corruption vulnerability in Artifex Mupdf, published on 22 Jan 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted.
Weakness: CWE-119
Which versions are affected by CVE-2017-17858?
It affects 1 product.
Products include Artifex Mupdf.
How do I fix CVE-2017-17858?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2017-17858 being exploited?
There is no known exploitation of CVE-2017-17858 in the wild and no public exploit code.
Other vulnerabilities in Artifex Mupdf
Sources
Also known as ALPINE-CVE-2017-17858, GHSA-fh5j-8x7v-7wjq, UBUNTU-CVE-2017-17858.