{"id":"CVE-2017-5991","details":"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.","modified":"2026-07-08T11:36:00.888388Z","published":"2017-02-15T06:59:00.917Z","database_specific":{"unresolved_ranges":[{"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.0"},{"last_affected":"8.0"},{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING"}]},"references":[{"type":"WEB","url":"http://git.ghostscript.com/?p=mupdf.git%3Bh=1912de5f08e90af1d9d0a9791f58ba3afdb9d465"},{"type":"WEB","url":"http://www.securityfocus.com/bid/96213"},{"type":"ADVISORY","url":"http://www.debian.org/security/2017/dsa-3797"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201706-08"},{"type":"EVIDENCE","url":"https://bugs.ghostscript.com/show_bug.cgi?id=697500"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/42138/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/artifexsoftware/mupdf","events":[{"introduced":"0"},{"fixed":"34e18d127a02146e3415b33c4b67389ce1ddb614"}],"database_specific":{"cpe":"cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.11"}],"source":"CPE_RANGE"}}],"versions":["1.11-rc1","1.10","1.10-rc2","1.10-rc1","1.9a","1.9","1.9-rc2","1.9-rc1","1.8","1.7a","1.7","1.7-rc1","1.6-appstore","1.6-ios-rc2","1.6-ios-rc1","android-release-60","1.6","1.5-ios-rc8","1.5-ios-appstore","1.5-ios-rc7","1.5-ios-rc6","1.5-ios","1.5","1.4-ios","1.4","1.3rc1","1.2","1.1-forms-tech-preview","1.0","1.0rc1","0.9","0.8","0.7","0.6","0.5","0.4","0.3","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5991.json","vanir_signatures_modified":"2026-07-08T11:36:00Z","vanir_signatures":[{"source":"https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614","target":{"function":"jpx_write","file":"source/fitz/load-jpx.c"},"deprecated":false,"digest":{"function_hash":"169602091508112698605693186521903319646","length":1818},"id":"CVE-2017-5991-03bb9f12","signature_type":"Function","signature_version":"v1"},{"digest":{"line_hashes":["318860727090285113648312207569983170359","96587218374524127876893852068544087381","96145446815683841002064726214889884036","110478489815287545782199772552579966714","178912095946278086291051989619566937041","194521173791012311601904013145805084190","186413022840639376279780909256434359575","282456049897422787806059787075892147763","192548486089043377665532798273898707572","331919289920361208014131993984457763613","8555470794948426582696504798510362512","213298969081480980520396268616438498261","247765199926672069116174025769827847608"],"threshold":0.9},"id":"CVE-2017-5991-0bed08d1","signature_type":"Line","signature_version":"v1","source":"https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614","target":{"file":"source/fitz/load-jpx.c"},"deprecated":false},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/artifexsoftware/mupdf/commit/34e18d127a02146e3415b33c4b67389ce1ddb614","target":{"file":"source/fitz/load-jpx.c","function":"jpx_read_image"},"deprecated":false,"digest":{"length":6489,"function_hash":"203418021825365503310582627681356394434"},"id":"CVE-2017-5991-3325bc74"}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}