CVE-2017-5991 in Artifex Mupdf and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-5991 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-157909-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2017-02-15 |
| Last modified | 2026-05-13 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-476: NULL Pointer Dereference
Software attempts to use a NULL pointer, causing a crash and denial of service.
Analysis AI-written, not human-reviewed
A NULL pointer dereference vulnerability exists in the pdf_run_xobject function of Artifex MuPDF versions prior to 1912de5f08e90af1d9d0a9791f58ba3afdb9d465, which could lead to a crash or potentially arbitrary code execution.
An attacker could exploit this vulnerability by crafting a malicious PDF file that, when opened with an affected version of MuPDF, triggers the NULL pointer dereference. This could result in a denial of service or, in some cases, arbitrary code execution with the privileges of the application.
Questions
What is CVE-2017-5991?
A NULL pointer dereference vulnerability exists in the pdf_run_xobject function of Artifex MuPDF versions prior to 1912de5f08e90af1d9d0a9791f58ba3afdb9d465, which could lead to a crash or potentially arbitrary code execution.
What is the CVSS score for CVE-2017-5991?
CVE-2017-5991 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 15.2%.
Is CVE-2017-5991 actively exploited?
Public exploit available for CVE-2017-5991. Exploitation risk elevated.
How do I remediate CVE-2017-5991?
Priority: HIGH.
What systems are affected by CVE-2017-5991?
CVE-2017-5991 affects Artifex Mupdf; Debian Debian Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Artifex","product":"Mupdf","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-13.