CVE-2017-5991
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.
What to do
Likely to be exploited: EPSS gives a 15% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | mupdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | mupdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | mupdf | Fix pending | UBUNTU-CVE-2017-5991 | |
| Ubuntu 14.04 | mupdf | Fix pending | ||
| Debian 14 | mupdf | Fixed | 1.9a+ds1-4 | DEBIAN-CVE-2017-5991 |
| Debian 13 | mupdf | Fixed | 1.9a+ds1-4 | DEBIAN-CVE-2017-5991 |
| Debian 12 | mupdf | Fixed | 1.9a+ds1-4 | DEBIAN-CVE-2017-5991 |
| Alpine Linux 3.24 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.23 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.22 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.21 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.20 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.19 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.18 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.17 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.16 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.15 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.14 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.13 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.12 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.11 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.10 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.9 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.8 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.7 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.6 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
| Alpine Linux 3.5 | mupdf | Fixed | 1.10a-r2 | ALPINE-CVE-2017-5991 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3797 (vendor-advisory)
- https://security.gentoo.org/glsa/201706-08 (vendor-advisory)
References
- http://git.ghostscript.com/?p=mupdf.git%3Bh=1912de5f08e90af1d9d0a9791f58ba3afdb9d465
- http://www.debian.org/security/2017/dsa-3797
- https://bugs.ghostscript.com/show_bug.cgi?id=697500
- https://security.gentoo.org/glsa/201706-08
- https://www.exploit-db.com/exploits/42138/
- http://www.securityfocus.com/bid/96213
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.