CVE-2017-5991

HIGH

Artifex MuPDF < 1.11 - NULL Pointer Dereference in pdf_run_xobject

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-5991. PoCs published by Kamil Frankowicz.

AI-analyzed exploit summary This exploit demonstrates a null pointer dereference vulnerability in MuPDF's `fz_paint_pixmap_with_mask` function, leading to a denial-of-service (DoS) condition. The PoC triggers the crash via a malformed input file processed by `mutool convert`.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Kamil Frankowicz · textdoslinux
https://www.exploit-db.com/exploits/42138

This exploit demonstrates a null pointer dereference vulnerability in MuPDF's `fz_paint_pixmap_with_mask` function, leading to a denial-of-service (DoS) condition. The PoC triggers the crash via a malformed input file processed by `mutool convert`.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: MuPDF (Git HEAD: 8eea208e099614487e4bd7cc0d67d91489dae642)
No auth needed
Prerequisites: MuPDF/mutool installed · malformed input file provided in the PoC
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2017/dsa-3797
Exploit, Third Party Advisory x_refsource_confirm
https://bugs.ghostscript.com/show_bug.cgi?id=697500
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201706-08
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42138/
Broken Link vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/96213

Scores

CVSS v3 7.5
EPSS 0.1518
EPSS Percentile 96.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (3)
artifex/mupdf < 1.11
debian/debian_linux 8.0
debian/debian_linux 9.0
Published Feb 15, 2017
Tracked Since Feb 18, 2026