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
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 productsnot 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-08).
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
- cgit.ghostscript.com /cgi-bin/cgit.cgi/mupdf.git/commit/?id=b70eb93f6936c03d8af52040bbca4d4a7db39079
-
bugs.ghostscript.com
/show_bug.cgi?id=698860
exploit, issue-tracking, third-party-advisory
-
security.gentoo.org
/glsa/201811-15
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4334
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/06/msg00027.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-5686
- NVD CVE-2018-5686
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.