Bug 697019

Summary: mutool/mupdf: use-after-free in pdf_dict_get (pdf-object.c)
Product: MuPDF Reporter: Agostino Sarubbo <ago>
Component: fuzzingAssignee: muPDF bugs <mupdf-bugs>
Status: RESOLVED DUPLICATE QA Contact: Bug traffic <tech>
Severity: normal    
Priority: P4 CC: sebastian.rasmussen
Version: 1.9   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: reproducer
stacktrace

Description Agostino Sarubbo 2016-08-05 07:45:01 UTC
Created attachment 12817 [details]
reproducer

Hello,

there is an use-after-free in pdf_dict_get triggered from a crafted file.

I'm attaching:
1) The reproducer;
2) The stacktrace provided by Address Sanitizer;
Comment 1 Agostino Sarubbo 2016-08-05 07:45:33 UTC
Created attachment 12818 [details]
stacktrace
Comment 2 Agostino Sarubbo 2016-09-21 07:01:30 UTC
The command to reproduce the issue is:
# mutool info $REPRODUCER
Comment 3 Sebastian Rasmussen 2016-09-22 08:46:14 UTC
This issue has already been fixed by commit 1e03c06456d997435019fb3526fa2d4be7dbc6ec.

*** This bug has been marked as a duplicate of bug 697015 ***