CVE-2017-17858
Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2017-17858- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-17858- Updated
- 2026-11-02
EUVDEUVD-2017-9005 No score
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.
- Record
EUVD-2017-9005- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fh5j-8x7v-7wjq
7.8
Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1...
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.
- Record
GHSA-fh5j-8x7v-7wjq- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-17858
7.8
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.
- Record
ALPINE-CVE-2017-17858- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2017-17858- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-17858
7.8
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.
- Record
UBUNTU-CVE-2017-17858- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11068-1 No score
mupdf-1.18.0-1.7 on GA media
These are all security issues fixed in the mupdf-1.18.0-1.7 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11068-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mupdfAlpine:v3.10 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.11 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.7 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.8 |
before 1.13-r0 | 1.13-r0 |
mupdfAlpine:v3.9 |
before 1.13-r0 | 1.13-r0 |
mupdfUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.11+ds1-1.11.11+ds1-21.12.0+ds1-11.12.0+ds1-1ubuntu0.1~esm11.12.0+ds1-1ubuntu0.1~esm2 |
None known |
mupdfopenSUSE:Tumbleweed From an advisory covering 18 CVEs |
before 1.18.0-1.7 | 1.18.0-1.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-17858 is a high vulnerability (CVSS 7.8) in Artifex Mupdf, published January 22, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.73%, the 86th percentile. Fixed in mupdf 1.13-r0.
References
security.gentoo.org/glsa/201811-15
bugs.ghostscript.com/show_bug.cgi?id=698819
github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md
git.ghostscript.com?p=mupdf.git%3Ba=commit%3Bh=55c3f68d638ac1263a386e0aaa004bb6e8bde731
nvd.nist.gov/vuln/detail/CVE-2017-17858
git.ghostscript.com?p=mupdf.git;a=commit;h=55c3f68d638ac1263a386e0aaa004bb6e8bde731
Show 22 moreShow less
github.com/advisories/GHSA-fh5j-8x7v-7wjq
security.alpinelinux.org/vuln/CVE-2017-17858
ubuntu.com/security/CVE-2017-17858
cve.org/CVERecord?id=CVE-2017-17858
suse.com/security/cve/CVE-2016-10132
suse.com/security/cve/CVE-2016-10141
suse.com/security/cve/CVE-2016-10221
suse.com/security/cve/CVE-2016-8729
suse.com/security/cve/CVE-2017-15369
suse.com/security/cve/CVE-2017-17858
suse.com/security/cve/CVE-2017-5627
suse.com/security/cve/CVE-2017-5628
suse.com/security/cve/CVE-2017-5896
suse.com/security/cve/CVE-2017-7976
suse.com/security/cve/CVE-2018-1000051
suse.com/security/cve/CVE-2018-16647
suse.com/security/cve/CVE-2018-16648
suse.com/security/cve/CVE-2018-18662
suse.com/security/cve/CVE-2018-5686
suse.com/security/cve/CVE-2018-6187
suse.com/security/cve/CVE-2018-6192
suse.com/security/cve/CVE-2018-6544