Vulnerability Name:

CVE-2018-5686 (CCN-137668)

Assigned:2018-01-13
Published:2018-01-13
Updated:2020-01-30
Summary: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.
CVSS v3 Severity:5.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H)
4.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
3.3 Low (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
2.9 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Low
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
1.7 Low (CCN CVSS v2 Vector: AV:L/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
Vulnerability Type:CWE-835
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-5686

Source: CCN
Type: MuPDF GIT Repository
Don't allow reading from a 'dead' fz_stream.

Source: CCN
Type: Bugzilla – Bug 698860
Infinite Loop in pdf_parse_array function (source/pdf/pdf-parse.c)

Source: MISC
Type: Exploit, Issue Tracking, Third Party Advisory
https://bugs.ghostscript.com/show_bug.cgi?id=698860

Source: XF
Type: UNKNOWN
mupdf-cve20185686-dos(137668)

Source: MLIST
Type: Third Party Advisory
[debian-lts-announce] 20190628 [SECURITY] [DLA 1838-1] mupdf security update

Source: GENTOO
Type: Third Party Advisory
GLSA-201811-15

Source: DEBIAN
Type: Third Party Advisory
DSA-4334

Vulnerable Configuration:Configuration 1:
  • cpe:/a:artifex:mupdf:1.12.0:-:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20185686
    V
    CVE-2018-5686
    2022-06-30
    oval:org.opensuse.security:def:113003
    P
    mupdf-1.18.0-1.7 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:106449
    P
    Security update for binutils (Moderate)
    2021-11-09
    oval:com.ubuntu.bionic:def:201856860000000
    V
    CVE-2018-5686 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-01-14
    oval:com.ubuntu.xenial:def:201856860000000
    V
    CVE-2018-5686 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-01-14
    oval:com.ubuntu.disco:def:201856860000000
    V
    CVE-2018-5686 on Ubuntu 19.04 (disco) - medium.
    2018-01-14
    oval:com.ubuntu.artful:def:20185686000
    V
    CVE-2018-5686 on Ubuntu 17.10 (artful) - medium.
    2018-01-13
    oval:com.ubuntu.xenial:def:20185686000
    V
    CVE-2018-5686 on Ubuntu 16.04 LTS (xenial) - medium.
    2018-01-13
    oval:com.ubuntu.bionic:def:20185686000
    V
    CVE-2018-5686 on Ubuntu 18.04 LTS (bionic) - medium.
    2018-01-13
    oval:com.ubuntu.cosmic:def:20185686000
    V
    CVE-2018-5686 on Ubuntu 18.10 (cosmic) - medium.
    2018-01-13
    oval:com.ubuntu.cosmic:def:201856860000000
    V
    CVE-2018-5686 on Ubuntu 18.10 (cosmic) - medium.
    2018-01-13
    oval:com.ubuntu.trusty:def:20185686000
    V
    CVE-2018-5686 on Ubuntu 14.04 LTS (trusty) - medium.
    2018-01-13
    BACK
    artifex mupdf 1.12.0 -
    debian debian linux 8.0
    debian debian linux 9.0