{"id":"CVE-2018-5686","aliases":["ALPINE-CVE-2018-5686","DEBIAN-CVE-2018-5686","DLA-1838-1","DSA-4334-1","EUVD-2018-17455","GHSA-6j78-9283-gj3w","UBUNTU-CVE-2018-5686","openSUSE-SU-2024:11068-1"],"status":"published","title":"In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the...","description":"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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01472,"percentile":0.73945,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2018-01-14T02:00:00Z","modified":"2026-11-03T06:31:23Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"mupdf","fixed_in":["1.13-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mupdf","fixed_in":["1.13.0+ds1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mupdf","fixed_in":["1.13.0+ds1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mupdf","fixed_in":["1.13.0+ds1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.0+ds1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.0+ds1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.0+ds1-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-1+deb8u6"}]}],"versions":["1.5-1","1.5-1+deb8u1","1.5-1+deb8u2","1.5-1+deb8u3","1.5-1+deb8u4","1.5-1+deb8u5"],"bundled":3},{"source":"osv","ecosystem":"Debian:9","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9a+ds1-4+deb9u4"}]}],"versions":["1.9a+ds1-4","1.9a+ds1-4+deb9u1","1.9a+ds1-4+deb9u2","1.9a+ds1-4+deb9u3"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7-1","1.7a-1","1.7a-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"mupdf","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"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.0-1.7"}]}],"bundled":18}],"products":[{"vendor":"artifex","product":"mupdf"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=698860","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://security.gentoo.org/glsa/201811-15","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4334","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00027.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory"]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=b70eb93f6936c03d8af52040bbca4d4a7db39079","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5686"},{"url":"https://github.com/advisories/GHSA-6j78-9283-gj3w"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-5686","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5686","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5686","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5686","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10132","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10141","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10221","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-8729","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15369","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-17858","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5627","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5628","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5896","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-7976","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-1000051","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16647","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16648","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18662","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5686","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6187","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6192","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6544","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-5686","description":"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.","status":"published","published":"2018-01-14T02:00:00Z","modified":"2024-09-12T16:34:07.947Z","updated_at":"2026-11-02T14:35:00.948726Z"}],"euvd":[{"id":"EUVD-2018-17455","description":"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.","status":"published","published":"2018-01-14T02:00:00Z","modified":"2024-09-12T16:34:07Z","updated_at":"2026-11-03T00:55:56.835723Z"}],"ghsa":[{"id":"GHSA-6j78-9283-gj3w","title":"In MuPDF 1.12.0, there is an infinite loop vulnerability and application hang in the...","description":"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.","status":"published","published":"2022-05-13T01:28:42Z","modified":"2024-09-12T18:31:38Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:58:15.26738Z"}],"nvd":[{"id":"CVE-2018-5686","description":"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.","status":"published","published":"2018-01-14T02:29:05.213Z","modified":"2026-06-17T02:00:35.733Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"ALPINE-CVE-2018-5686","description":"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.","status":"published","published":"2018-01-14T02:29:05.213Z","modified":"2026-11-03T06:31:23.474825357Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:18:23.800469Z"},{"id":"CVE-2018-5686","description":"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.","status":"published","published":"2018-01-14T02:29:05.213Z","modified":"2026-10-24T10:30:42.503944366Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-5686","description":"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.","status":"published","published":"2018-01-14T02:29:05.213Z","modified":"2026-10-23T18:03:22.179970538Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-5686","description":"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.","status":"published","published":"2018-01-14T02:29:00Z","modified":"2026-04-22T11:59:33.598139Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:18.33562Z"},{"id":"DLA-1838-1","title":"mupdf - security update","status":"published","published":"2019-06-28T00:00:00Z","modified":"2026-03-09T01:20:09.534057Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DSA-4334-1","title":"mupdf - security update","status":"published","published":"2018-11-04T00:00:00Z","modified":"2026-03-09T02:11:07.664089Z","updated_at":"2026-11-02T15:46:16.862196Z"},{"id":"openSUSE-SU-2024:11068-1","title":"mupdf-1.18.0-1.7 on GA media","description":"These are all security issues fixed in the mupdf-1.18.0-1.7 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:52:09.166435Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
