7.8
HIGH CVSS 3.0
CVE-2017-17858
MUPDF PDF Heap Buffer Overflow
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.

INFO

Published Date :

Jan. 22, 2018, 3:29 p.m.

Last Modified :

Nov. 21, 2024, 3:18 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2017-17858 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Artifex mupdf
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
This vulnerability in MuPDF can lead to a heap-based buffer overflow.
  • Update the MuPDF package to the latest version.
  • If using Gentoo, execute: emerge --sync; emerge --ask --oneshot --verbose '>=app-text/mupdf-1.13.0'.
Public PoC/Exploit Available at Github

CVE-2017-17858 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-17858 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CVEs and Techniques used PDF as an attack vector.

Updated: 3 months ago
91 stars 21 fork 21 watcher
Born at : June 22, 2022, 6:01 a.m. This repo has been linked 701 different CVEs too.

None

Updated: 5 years, 7 months ago
1 stars 0 fork 0 watcher
Born at : July 17, 2018, 7:48 p.m. This repo has been linked 494 different CVEs too.

Publicly disclosed vulnerabilities I discovered in open source software

Updated: 5 years, 9 months ago
0 stars 1 fork 1 watcher
Born at : Jan. 12, 2018, 2:38 p.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-17858 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-17858 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://git.ghostscript.com/?p=mupdf.git%3Ba=commit%3Bh=55c3f68d638ac1263a386e0aaa004bb6e8bde731
    Added Reference https://bugs.ghostscript.com/show_bug.cgi?id=698819
    Added Reference https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md
    Added Reference https://security.gentoo.org/glsa/201811-15
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE http://git.ghostscript.com/?p=mupdf.git%3Ba=commit%3Bh=55c3f68d638ac1263a386e0aaa004bb6e8bde731 [No types assigned]
    Removed Reference MITRE http://git.ghostscript.com/?p=mupdf.git;a=commit;h=55c3f68d638ac1263a386e0aaa004bb6e8bde731
  • CVE Modified by [email protected]

    Nov. 27, 2018

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201811-15 [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 08, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugs.ghostscript.com/show_bug.cgi?id=698819 No Types Assigned https://bugs.ghostscript.com/show_bug.cgi?id=698819 Permissions Required
    Changed Reference Type https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md No Types Assigned https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md Exploit, Patch, Third Party Advisory
    Changed Reference Type http://git.ghostscript.com/?p=mupdf.git;a=commit;h=55c3f68d638ac1263a386e0aaa004bb6e8bde731 No Types Assigned http://git.ghostscript.com/?p=mupdf.git;a=commit;h=55c3f68d638ac1263a386e0aaa004bb6e8bde731 Patch, Vendor Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:artifex:mupdf:1.12.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

6.19 }} -4.63%

score

0.89905

percentile