{"id":"CVE-2017-5991","aliases":["ALPINE-CVE-2017-5991","DEBIAN-CVE-2017-5991","DSA-3797-1","EUVD-2017-15060","GHSA-j28p-v5hh-q229","MGASA-2017-0479","UBUNTU-CVE-2017-5991"],"status":"published","title":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The...","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.15181,"percentile":0.9677,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-476"],"published":"2017-02-15T06:11:00Z","modified":"2026-10-24T14:02:31Z","exploits":[{"source":"exploitdb","id":"EDB-42138","title":"Artifex MuPDF - Null Pointer Dereference","type":"dos","platform":"linux","date":"2017-06-07","verified":true,"url":"https://www.exploit-db.com/exploits/42138"}],"fixes":[{"ecosystem":"Alpine:v3.10","package":"mupdf","fixed_in":["1.10a-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"mupdf","fixed_in":["1.10a-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"mupdf","fixed_in":["1.10a-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"mupdf","fixed_in":["1.10a-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"mupdf","fixed_in":["1.10a-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"mupdf","fixed_in":["1.10a-r2"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"mupdf","fixed_in":["1.10a-r2"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mupdf","fixed_in":["1.9a+ds1-4"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mupdf","fixed_in":["1.9a+ds1-4"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mupdf","fixed_in":["1.9a+ds1-4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10a-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10a-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10a-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10a-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10a-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10a-r2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10a-r2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9a+ds1-4"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9a+ds1-4"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9a+ds1-4"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-1+deb8u2"}]}],"versions":["1.5-1","1.5-1+deb8u1"],"bundled":4},{"source":"osv","ecosystem":"Mageia:5","package":"mupdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5-4.5.mga5"}]}],"bundled":4},{"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"]}],"products":[{"vendor":"artifex","product":"mupdf"},{"vendor":"debian","product":"debian_linux"}],"references":[{"url":"http://git.ghostscript.com/?p=mupdf.git%3Bh=1912de5f08e90af1d9d0a9791f58ba3afdb9d465","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.debian.org/security/2017/dsa-3797","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697500","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://security.gentoo.org/glsa/201706-08","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.exploit-db.com/exploits/42138/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"http://www.securityfocus.com/bid/96213","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5991"},{"url":"http://git.ghostscript.com/?p=mupdf.git;h=1912de5f08e90af1d9d0a9791f58ba3afdb9d465","tags":["report"]},{"url":"https://www.exploit-db.com/exploits/42138"},{"url":"https://github.com/advisories/GHSA-j28p-v5hh-q229"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-5991","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5991","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0479.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20310","tags":["report"]},{"url":"https://www.debian.org/security/2017/dsa-3797","tags":["web"]},{"url":"https://www.debian.org/security/2017/dsa-4006","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-5991","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5991","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-5991","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2017-02-15T06:11:00Z","modified":"2024-08-05T15:18:48.984Z","updated_at":"2026-11-02T14:33:12.942409Z"}],"euvd":[{"id":"EUVD-2017-15060","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2017-02-15T06:11:00Z","modified":"2024-08-05T15:18:48Z","updated_at":"2026-11-03T02:39:13.965943Z"}],"ghsa":[{"id":"GHSA-j28p-v5hh-q229","title":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The...","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2022-05-13T01:02:15Z","modified":"2025-04-20T03:32:53Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T15:01:40.176288Z"}],"nvd":[{"id":"CVE-2017-5991","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2017-02-15T06:59:00.917Z","modified":"2026-06-17T01:21:34.813Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:03:43.325192Z"}],"osv":[{"id":"ALPINE-CVE-2017-5991","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2017-02-15T06:59:00.917Z","modified":"2026-06-15T18:24:59.650337833Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:47.187336Z"},{"id":"CVE-2017-5991","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2017-02-15T06:59:00.917Z","modified":"2026-10-24T14:02:31.354683366Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.029968Z"},{"id":"DEBIAN-CVE-2017-5991","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2017-02-15T06:59:00.917Z","modified":"2026-09-01T20:03:48.910147581Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.412243Z"},{"id":"UBUNTU-CVE-2017-5991","description":"An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The pdf_run_xobject function in pdf-op-run.c encounters a NULL pointer dereference during a Fitz fz_paint_pixmap_with_mask painting operation. Versions 1.11 and later are unaffected.","status":"published","published":"2017-02-15T06:59:00Z","modified":"2026-04-22T11:29:04.904593Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:15.388065Z"},{"id":"DSA-3797-1","title":"mupdf - security update","status":"published","published":"2017-02-28T00:00:00Z","modified":"2026-03-09T01:20:43.369701Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0479","title":"Updated mupdf packages fix security vulnerability","description":"Multiple vulnerabilities have been found in the PDF viewer MuPDF, which\nmay result in denial of service or the execution of arbitrary code if a\nmalformed PDF file is opened (CVE-2016-8674, CVE-2017-5896, CVE-2017-5991)\n\nTerry Chia and Jeremy Heng discovered an integer overflow that can cause\narbitrary code execution via a crafted .pdf file (CVE-2017-15587).\n","status":"published","published":"2017-12-31T12:00:06Z","modified":"2026-04-16T06:24:06.68586585Z","updated_at":"2026-11-02T15:49:40.442238Z"}]}}
