Name | CVE-2017-17858 |
Description | Heap-based buffer overflow in the ensure_solid_xref function in pdf/pdf-xref.c in Artifex MuPDF 1.12.0 allows a remote attacker to potentially execute arbitrary code via a crafted PDF file, because xref subsection object numbers are unrestricted. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
mupdf (PTS) | bullseye | 1.17.0+ds1-2 | fixed |
| bullseye (security) | 1.17.0+ds1-1.3~deb11u1 | fixed |
| bookworm | 1.21.1+ds2-1 | fixed |
| sid, trixie | 1.24.10+ds1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mupdf | source | (unstable) | (not affected) | | | |
Notes
- mupdf <not-affected> (Vulnerable code introduced in 1.11.1)
https://bugs.ghostscript.com/show_bug.cgi?id=698819 (not public)
Fixed by: https://git.ghostscript.com/?p=mupdf.git;a=commit;h=55c3f68d638ac1263a386e0aaa004bb6e8bde731
Commit https://git.ghostscript.com/?p=mupdf.git;a=commit;h=f595e889b91a674eb94db7ca4d832da54f5194cd
switches to use int64_t for public file API offsets and introduced the flaw.
https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md