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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://security.gentoo.org/glsa/201811-15 | vendor advisory |
https://bugs.ghostscript.com/show_bug.cgi?id=698819 | permissions required |
https://github.com/mzet-/Security-Advisories/blob/master/mzet-adv-2017-01.md | patch third party advisory exploit |
http://git.ghostscript.com/?p=mupdf.git%3Ba=commit%3Bh=55c3f68d638ac1263a386e0aaa004bb6e8bde731 |