Description
The pdf_to_num function in pdf-object.c in MuPDF before 1.10 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted file.
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-2 | — |
| Debian 13 | mupdf | 1.9a+ds1-2 | — |
| Debian 12 | mupdf | 1.9a+ds1-2 | — |
| 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 | — |
Advisories 1
- DSA-3797-1 mupdf - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1385685
- https://bugs.ghostscript.com/show_bug.cgi?id=697019
- 93127 vdb-entry
- DSA-3797 vendor-advisory
- [oss-security] 20161015 Re: mupdf: use-after-free in pdf_to_num (pdf-object.c) mailing-list
- https://bugs.ghostscript.com/show_bug.cgi?id=697015
- http://git.ghostscript.com/?p=mupdf.git%3Ba=commitdiff%3Bh=1e03c06456d997435019fb3526fa2d4be7dbc6ec
- https://blogs.gentoo.org/ago/2016/09/22/mupdf-use-after-free-in-pdf_to_num-pdf-object-c/