{"id":"UBUNTU-CVE-2018-6187","details":"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.","modified":"2026-04-22T13:17:58.065493Z","published":"2018-01-24T10:29:00Z","upstream":["CVE-2018-6187"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6187"},{"type":"REPORT","url":"https://bugs.ghostscript.com/show_bug.cgi?id=698908"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-6187"}],"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":"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-6187.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":"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-6187.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}