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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.73%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.0
- 7.8 HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 2.73% probability · 86th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- artifex/mupdf
- Source
- cve@mitre.org
EPSS moved from 4.3% on 21 September 2026 to 2.7% on 27 October 2026.
References
- http://git.ghostscript.com/?p=mupdf.git%3Ba=commit%3Bh=55c3f68d638ac1263a386e0aaa004bb6e8bde731
- https://bugs.ghostscript.com/show_bug.cgi?id=698819Permissions Required
- https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.mdExploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-15
- http://git.ghostscript.com/?p=mupdf.git%3Ba=commit%3Bh=55c3f68d638ac1263a386e0aaa004bb6e8bde731
- https://bugs.ghostscript.com/show_bug.cgi?id=698819Permissions Required
- https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.mdExploit, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201811-15
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.