CVE-2017-17858
Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted.
What to do
Fixed builds are available from Alpine: 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-2017-17858 | |
| Ubuntu 16.04 | mupdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | mupdf | Not affected vulnerable_code_not_present | ||
| Alpine Linux 3.24 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.23 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.22 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.21 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.20 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.19 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.18 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.17 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.16 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.15 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.14 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.13 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.12 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.11 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.10 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.9 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.8 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
| Alpine Linux 3.7 | mupdf | Fixed | 1.13-r0 | ALPINE-CVE-2017-17858 |
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)
References
- https://security.gentoo.org/glsa/201811-15
- https://bugs.ghostscript.com/show_bug.cgi?id=698819
- https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md
- http://git.ghostscript.com/?p=mupdf.git%3Ba=commit%3Bh=55c3f68d638ac1263a386e0aaa004bb6e8bde731
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.