CVE-2018-6187 Memory corruption in n/a
Remote attackers can cause a denial of service in MuPDF via a crafted PDF file due to a heap-based buffer overflow.
- 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-2018-6187?
CVE-2018-6187 is a medium-severity memory corruption vulnerability in Artifex Mupdf, published on 24 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
In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.
Weakness: CWE-787
Which versions are affected by CVE-2018-6187?
It affects 2 products.
Products include Artifex Mupdf, Debian Debian Linux.
How do I fix CVE-2018-6187?
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-2018-6187 being exploited?
There is no known exploitation of CVE-2018-6187 in the wild and no public exploit code.
Other vulnerabilities in Artifex Mupdf
Sources
Also known as ALPINE-CVE-2018-6187, DEBIAN-CVE-2018-6187, GHSA-54h4-vpfg-6425, UBUNTU-CVE-2018-6187.