{"id":"UBUNTU-CVE-2018-5686","details":"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.","modified":"2025-11-26T07:55:20.355358Z","published":"2018-01-14T02:29:00Z","upstream":["CVE-2018-5686"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-5686"},{"type":"REPORT","url":"https://bugs.ghostscript.com/show_bug.cgi?id=698860"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-5686"}],"affected":[{"package":{"name":"mupdf","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/mupdf@1.7a-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7-1","1.7a-1","1.7a-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7a-1ubuntu0.1~esm1","binary_name":"libmupdf-dev"},{"binary_version":"1.7a-1ubuntu0.1~esm1","binary_name":"mupdf"},{"binary_version":"1.7a-1ubuntu0.1~esm1","binary_name":"mupdf-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5686.json"}},{"package":{"name":"mupdf","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/mupdf@1.12.0+ds1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11+ds1-1.1","1.11+ds1-2","1.12.0+ds1-1","1.12.0+ds1-1ubuntu0.1~esm1","1.12.0+ds1-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.12.0+ds1-1ubuntu0.1~esm2","binary_name":"libmupdf-dev"},{"binary_version":"1.12.0+ds1-1ubuntu0.1~esm2","binary_name":"mupdf"},{"binary_version":"1.12.0+ds1-1ubuntu0.1~esm2","binary_name":"mupdf-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-5686.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}