CVE-2018-5686
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | mupdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | mupdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | mupdf | Fix pending | UBUNTU-CVE-2018-5686 | |
| Ubuntu 16.04 | mupdf | Fix pending | UBUNTU-CVE-2018-5686 | |
| Ubuntu 14.04 | mupdf | Fix pending | ||
| Debian 14 | mupdf | Fixed | 1.13.0+ds1-1 | DEBIAN-CVE-2018-5686 |
| Debian 13 | mupdf | Fixed | 1.13.0+ds1-1 | DEBIAN-CVE-2018-5686 |
| Debian 12 | mupdf | Fixed | 1.13.0+ds1-1 | DEBIAN-CVE-2018-5686 |
| Alpine Linux 3.24 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.23 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.22 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.21 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.20 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.19 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.18 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.17 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.16 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.15 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.14 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.13 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.12 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.11 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.10 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.9 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.8 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
| Alpine Linux 3.7 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2018-5686 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://security.gentoo.org/glsa/201811-15 (vendor-advisory)
- https://www.debian.org/security/2018/dsa-4334 (vendor-advisory)
References
- https://bugs.ghostscript.com/show_bug.cgi?id=698860
- https://security.gentoo.org/glsa/201811-15
- https://www.debian.org/security/2018/dsa-4334
- https://lists.debian.org/debian-lts-announce/2019/06/msg00027.html
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=b70eb93f6936c03d8af52040bbca4d4a7db39079
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.