{"id":"CVE-2018-6187","aliases":["ALPINE-CVE-2018-6187","DEBIAN-CVE-2018-6187","DSA-4334-1","EUVD-2018-17949","GHSA-54h4-vpfg-6425","UBUNTU-CVE-2018-6187","openSUSE-SU-2024:11068-1"],"status":"published","title":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the...","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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-09","score":0.01906,"percentile":0.79889,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2018-01-24T10:00:00Z","modified":"2026-11-03T06:31:25Z","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: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://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":"http://www.securityfocus.com/bid/102823","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=698908","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=3e30fbb7bf5efd88df431e366492356e7eb969ec","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6187"},{"url":"https://github.com/advisories/GHSA-54h4-vpfg-6425"},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-6187","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-6187","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-6187","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6187","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-6187","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2018-01-24T10:00:00Z","modified":"2024-09-11T16:35:50.515Z","updated_at":"2026-11-02T14:35:06.320867Z"}],"euvd":[{"id":"EUVD-2018-17949","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2018-01-24T10:00:00Z","modified":"2024-09-11T16:35:50Z","updated_at":"2026-11-03T00:55:58.237549Z"}],"ghsa":[{"id":"GHSA-54h4-vpfg-6425","title":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the...","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2022-05-13T01:20:29Z","modified":"2024-09-11T18:30:58Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:58:14.100374Z"}],"nvd":[{"id":"CVE-2018-6187","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2018-01-24T10:29:01.097Z","modified":"2026-06-17T02:01:28.71Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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-787"],"updated_at":"2026-11-02T14:04:22.897995Z"}],"osv":[{"id":"ALPINE-CVE-2018-6187","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2018-01-24T10:29:01.097Z","modified":"2026-11-03T06:31:25.767851188Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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-6187","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2018-01-24T10:29:01.097Z","modified":"2026-10-24T10:30:20.829229036Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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.74357Z"},{"id":"DEBIAN-CVE-2018-6187","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2018-01-24T10:29:01.097Z","modified":"2026-10-23T18:03:22.117386491Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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-6187","description":"In Artifex MuPDF 1.12.0, there is a heap-based buffer overflow vulnerability in the do_pdf_save_document function in the pdf/pdf-write.c file. Remote attackers could leverage the vulnerability to cause a denial of service via a crafted pdf file.","status":"published","published":"2018-01-24T10:29:00Z","modified":"2026-04-22T12:02:00.615694Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/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.772093Z"},{"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"}]}}
