Description
Stack-based buffer overflow in jstest_main.c in mujstest in Artifex Software, Inc. MuPDF 1.10a allows remote attackers to have unspecified impact via a crafted image.
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.12.0+ds1-1 | — |
| Debian 13 | mupdf | 1.12.0+ds1-1 | — |
| Debian 12 | mupdf | 1.12.0+ds1-1 | — |
| Debian 9 | mupdf | 1.14.0+ds1-4+deb9u1 | DLA-2765-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.11-r1 | — |
| Alpine v3.23 | mupdf | 1.11-r1 | — |
| Alpine v3.22 | mupdf | 1.11-r1 | — |
| Alpine v3.21 | mupdf | 1.11-r1 | — |
| Alpine v3.20 | mupdf | 1.11-r1 | — |
Show 15 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | mupdf | 1.11-r1 | — |
| Alpine v3.18 | mupdf | 1.11-r1 | — |
| Alpine v3.17 | mupdf | 1.11-r1 | — |
| Alpine v3.16 | mupdf | 1.11-r1 | — |
| Alpine v3.15 | mupdf | 1.11-r1 | — |
| Alpine v3.14 | mupdf | 1.11-r1 | — |
| Alpine v3.13 | mupdf | 1.11-r1 | — |
| Alpine v3.12 | mupdf | 1.11-r1 | — |
| Alpine v3.11 | mupdf | 1.11-r1 | — |
| Alpine v3.10 | mupdf | 1.11-r1 | — |
| Alpine v3.9 | mupdf | 1.11-r1 | — |
| Alpine v3.8 | mupdf | 1.11-r1 | — |
| Alpine v3.7 | mupdf | 1.11-r1 | — |
| Alpine v3.6 | mupdf | 1.11-r1 | — |
| Alpine v3.5 | mupdf | 1.10a-r3 | — |
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 mujstest 1.10a - Null Pointer Dereference EDB-42139 · dos · Feb 17, 2017 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DLA-2765-1 mupdf - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 96266 vdb-entry
- [oss-security] 20170218 mupdf: mujstest: stack-based buffer overflow in main (jstest_main.c) mailing-list
- GLSA-201706-08 vendor-advisory
- https://blogs.gentoo.org/ago/2017/02/17/mupdf-mujstest-stack-based-buffer-overflow-in-main-jstest_main-c/
- https://bugs.ghostscript.com/show_bug.cgi?id=697551
- [debian-lts-announce] 20210923 [SECURITY] [DLA 2765-1] mupdf security update mailing-list
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=06a012a42c9884e3cd653e7826cff1ddec04eb6e
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=e089b2e2c1d38c5696c7dfd741e21f8f3ef22b14