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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mupdf | 1.9a+ds1-4 | — |
| Debian 13 | mupdf | 1.9a+ds1-4 | — |
| Debian 12 | mupdf | 1.9a+ds1-4 | — |
| Debian 8 | mupdf | 1.5-1+deb8u2 | DSA-3797-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | mupdf | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | mupdf | 1.10a-r2 | — |
| Alpine v3.23 | mupdf | 1.10a-r2 | — |
| Alpine v3.22 | mupdf | 1.10a-r2 | — |
| Alpine v3.21 | mupdf | 1.10a-r2 | — |
| Alpine v3.20 | mupdf | 1.10a-r2 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | mupdf | 1.10a-r2 | — |
| Alpine v3.18 | mupdf | 1.10a-r2 | — |
| Alpine v3.17 | mupdf | 1.10a-r2 | — |
| Alpine v3.16 | mupdf | 1.10a-r2 | — |
| Alpine v3.15 | mupdf | 1.10a-r2 | — |
| Alpine v3.14 | mupdf | 1.10a-r2 | — |
| Alpine v3.13 | mupdf | 1.10a-r2 | — |
| Alpine v3.12 | mupdf | 1.10a-r2 | — |
| Alpine v3.11 | mupdf | 1.10a-r2 | — |
| Alpine v3.10 | mupdf | 1.10a-r2 | — |
| Alpine v3.9 | mupdf | 1.10a-r2 | — |
| Alpine v3.8 | mupdf | 1.10a-r2 | — |
| Alpine v3.7 | mupdf | 1.10a-r2 | — |
| Alpine v3.6 | mupdf | 1.10a-r2 | — |
| Alpine v3.5 | mupdf | 1.10a-r2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Artifex MuPDF - Null Pointer Dereference EDB-42138 · dos · Jun 7, 2017 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-3797-1 mupdf - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://git.ghostscript.com/?p=mupdf.git%3Bh=1912de5f08e90af1d9d0a9791f58ba3afdb9d465
- DSA-3797 vendor-advisory
- https://bugs.ghostscript.com/show_bug.cgi?id=697500
- GLSA-201706-08 vendor-advisory
- 42138 exploit
- 96213 vdb-entry