Skip to content
Fencer Vulns
medium 5.5

CVE-2018-6187 json

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 fi…

published 2018-01-24 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17949

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

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.

Patch / fix

  • mupdf Debian 14, Debian 13, Debian 12 1.13.0+ds1-1

debian advisories DEBIAN-CVE-2018-6187

  • mupdf openSUSE Tumbleweed 1.18.0-1.7

opensuse advisories openSUSE-SU-2024:11068-1

  • mupdf Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 1.13-r0

alpine advisories ALPINE-CVE-2018-6187

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mupdf Arch Linux 1.13.0-1
  • mupdf-gl Arch Linux 1.13.0-1
  • mupdf-tools Arch Linux 1.13.0-1
  • libmupdf Arch Linux 1.13.0-1
  • zathura-pdf-mupdf Arch Linux 0.3.3-3

arch linux advisories AVG-609AVG-687AVG-688AVG-689AVG-691

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-6187 updated cvss 3.3

mupdf: heap-based buffer overflow in pdf/pdf-write.c:do_pdf_save_document()

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.91% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • bugs.ghostscript.com https://bugs.ghostscript.com/show_bug.cgi?id=698908 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.