CVE-2018-6187
In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2018-6187- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-6187- Updated
- 2026-11-02
EUVDEUVD-2018-17949 No score
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.
- Record
EUVD-2018-17949- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-54h4-vpfg-6425
5.5
In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the...
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.
- Record
GHSA-54h4-vpfg-6425- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2018-6187
5.5
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.
- Record
ALPINE-CVE-2018-6187- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
5.5
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.
- Record
CVE-2018-6187- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-6187
5.5
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.
- Record
DEBIAN-CVE-2018-6187- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-6187
5.5
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.
- Record
UBUNTU-CVE-2018-6187- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11068-1 No score
mupdf-1.18.0-1.7 on GA media
These are all security issues fixed in the mupdf-1.18.0-1.7 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11068-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mupdfAlpine:v3.10 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.11 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.12 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.13 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.14 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.15 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.16 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.17 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.18 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.19 |
before 1.13-r0 | 1.13-r0 |
Show 15 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mupdfAlpine:v3.20 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.21 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.22 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.23 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.24 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.7 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.8 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.9 |
before 1.13-r0 | 1.13-r0 |
mupdfDebian:12 |
before 1.13.0+ds1-1 | 1.13.0+ds1-1 |
mupdfDebian:13 |
before 1.13.0+ds1-1 | 1.13.0+ds1-1 |
mupdfDebian:14 |
before 1.13.0+ds1-1 | 1.13.0+ds1-1 |
mupdfDebian:9 From an advisory covering 6 CVEs |
before 1.9a+ds1-4+deb9u4, plus listed versions 1.9a+ds1-41.9a+ds1-4+deb9u11.9a+ds1-4+deb9u21.9a+ds1-4+deb9u3 |
1.9a+ds1-4+deb9u4 |
mupdfUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.7-11.7a-11.7a-1ubuntu0.1~esm1 |
None known |
mupdfUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.11+ds1-1.11.11+ds1-21.12.0+ds1-11.12.0+ds1-1ubuntu0.1~esm11.12.0+ds1-1ubuntu0.1~esm2 |
None known |
mupdfopenSUSE:Tumbleweed From an advisory covering 18 CVEs |
before 1.18.0-1.7 | 1.18.0-1.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-6187 is a medium vulnerability (CVSS 5.5) in Artifex Mupdf, published January 24, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.91%, the 79th percentile. Fixed in mupdf 1.13-r0.
References
security.gentoo.org/glsa/201811-15
debian.org/security/2018/dsa-4334
securityfocus.com/bid/102823
bugs.ghostscript.com/show_bug.cgi?id=698908
cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit?id=3e30fbb7bf5efd88df431e366492356e7eb969ec
nvd.nist.gov/vuln/detail/CVE-2018-6187
Show 23 moreShow less
github.com/advisories/GHSA-54h4-vpfg-6425
security.alpinelinux.org/vuln/CVE-2018-6187
security-tracker.debian.org/tracker/CVE-2018-6187
ubuntu.com/security/CVE-2018-6187
cve.org/CVERecord?id=CVE-2018-6187
suse.com/security/cve/CVE-2016-10132
suse.com/security/cve/CVE-2016-10141
suse.com/security/cve/CVE-2016-10221
suse.com/security/cve/CVE-2016-8729
suse.com/security/cve/CVE-2017-15369
suse.com/security/cve/CVE-2017-17858
suse.com/security/cve/CVE-2017-5627
suse.com/security/cve/CVE-2017-5628
suse.com/security/cve/CVE-2017-5896
suse.com/security/cve/CVE-2017-7976
suse.com/security/cve/CVE-2018-1000051
suse.com/security/cve/CVE-2018-16647
suse.com/security/cve/CVE-2018-16648
suse.com/security/cve/CVE-2018-18662
suse.com/security/cve/CVE-2018-5686
suse.com/security/cve/CVE-2018-6187
suse.com/security/cve/CVE-2018-6192
suse.com/security/cve/CVE-2018-6544