Submit #1008495: MuPDF 1.28.5 Double Freeinfo

TitleMuPDF 1.28.5 Double Free
DescriptionMuPDF contains a double-free vulnerability (CWE-415) in the signature locking code. The free_char_list() function frees the backing array c->list but leaves the pointer dangling. When mutool sign processes a malicious PDF whose signature widget contains crafted /V/Reference lock specifications, merge_lock_specification() can free fields->includes.list while handling /Action /All, and pdf_drop_locked_fields() later frees the same pointer again. This causes a deterministic crash / denial of service. In server-side or automated signing workflows that sign untrusted PDFs, the issue may be remotely triggerable.
Source⚠️ https://bugs.ghostscript.com/show_bug.cgi?id=709768
User
 suyuanwang (UID 101634)
Submission09/30/2026 19:34 (1 month ago)
Moderation10/18/2026 11:12 (18 days later)
StatusAccepted
VulDB entry421684 [Artifex MuPDF up to 1.28.5 Signature Locking source/pdf/pdf-xref.c free_char_list double free]
Points17

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!