CVE-2017-5991
An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2017-5991- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-5991- Updated
- 2026-11-02
EUVDEUVD-2017-15060 No score
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.
- Record
EUVD-2017-15060- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-j28p-v5hh-q229
7.5
An issue was discovered in Artifex MuPDF before 1912de5f08e90af1d9d0a9791f58ba3afdb9d465. The...
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.
- Record
GHSA-j28p-v5hh-q229- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-5991
7.5
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.
- Record
ALPINE-CVE-2017-5991- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2017-5991- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-5991
7.5
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.
- Record
DEBIAN-CVE-2017-5991- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-5991
7.5
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.
- Record
UBUNTU-CVE-2017-5991- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0479 No score
Updated mupdf packages fix security vulnerability
Multiple vulnerabilities have been found in the PDF viewer MuPDF, which may result in denial of service or the execution of arbitrary code if a malformed PDF file is opened (CVE-2016-8674, CVE-2017-5896, CVE-2017-5991)
Terry Chia and Jeremy Heng discovered an integer overflow that can cause arbitrary code execution via a crafted .pdf file (CVE-2017-15587).
- Record
MGASA-2017-0479- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mupdfAlpine:v3.10 |
before 1.10a-r2 | 1.10a-r2 |
mupdfAlpine:v3.11 |
before 1.10a-r2 | 1.10a-r2 |
mupdfAlpine:v3.5 |
before 1.10a-r2 | 1.10a-r2 |
mupdfAlpine:v3.6 |
before 1.10a-r2 | 1.10a-r2 |
mupdfAlpine:v3.7 |
before 1.10a-r2 | 1.10a-r2 |
mupdfAlpine:v3.8 |
before 1.10a-r2 | 1.10a-r2 |
mupdfAlpine:v3.9 |
before 1.10a-r2 | 1.10a-r2 |
mupdfDebian:12 |
before 1.9a+ds1-4 | 1.9a+ds1-4 |
mupdfDebian:13 |
before 1.9a+ds1-4 | 1.9a+ds1-4 |
mupdfDebian:14 |
before 1.9a+ds1-4 | 1.9a+ds1-4 |
mupdfDebian:8 From an advisory covering 4 CVEs |
before 1.5-1+deb8u2, plus listed versions 1.5-11.5-1+deb8u1 |
1.5-1+deb8u2 |
mupdfMageia:5 From an advisory covering 4 CVEs |
before 1.5-4.5.mga5 | 1.5-4.5.mga5 |
mupdfUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.7-11.7a-11.7a-1ubuntu0.1~esm1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Artifex MuPDF - Null Pointer Dereference | 2017-06-07 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-5991 is a high vulnerability (CVSS 7.5) in Artifex Mupdf, published February 15, 2017. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 15.2%, the 96th percentile. Fixed in mupdf 1.10a-r2.
References
git.ghostscript.com?p=mupdf.git%3Bh=1912de5f08e90af1d9d0a9791f58ba3afdb9d465
debian.org/security/2017/dsa-3797
bugs.ghostscript.com/show_bug.cgi?id=697500
security.gentoo.org/glsa/201706-08
exploit-db.com/exploits/42138
securityfocus.com/bid/96213
Show 10 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-5991
git.ghostscript.com?p=mupdf.git;h=1912de5f08e90af1d9d0a9791f58ba3afdb9d465
github.com/advisories/GHSA-j28p-v5hh-q229
security.alpinelinux.org/vuln/CVE-2017-5991
security-tracker.debian.org/tracker/CVE-2017-5991
advisories.mageia.org/MGASA-2017-0479.html
bugs.mageia.org/show_bug.cgi?id=20310
debian.org/security/2017/dsa-4006
ubuntu.com/security/CVE-2017-5991
cve.org/CVERecord?id=CVE-2017-5991