Skip to content
Fencer Intel
medium 5.5

CVE-2018-5686 json

In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF…

published 2018-01-14 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17455

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

Summary

In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the pdf_parse_array function (pdf/pdf-parse.c) because EOF is not considered. Remote attackers could leverage this 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-5686

  • 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-5686

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-5686 updated cvss 3.3

mupdf: Infinite loop in pdf_parse_array function in pdf/pdf-parse.c

  • 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.47% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

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

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/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
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Intel 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.