mupdf/pdf_fuzzer: Heap-use-after-free in fz_fin_cached_color_converter

2018-01-23T12:37:13
ID OSSFUZZ-5604
Type ossfuzz
Reporter Google
Modified 2018-02-24T16:22:06

Description

Project: git://git.ghostscript.com/mupdf.git

Detailed report: https://oss-fuzz.com/testcase?key=4866555528609792

Project: mupdf Fuzzer: afl_mupdf_pdf_fuzzer Fuzz target binary: pdf_fuzzer Job Type: afl_asan_mupdf Platform Id: linux

Crash Type: Heap-use-after-free READ 8 Crash Address: 0x6060000005f8 Crash State: fz_fin_cached_color_converter fz_paint_shade fz_draw_fill_shade

Sanitizer: address (ASAN)

Regressed: https://oss-fuzz.com/revisions?job=afl_asan_mupdf&range=201801220544:201801230546

Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=4866555528609792

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

This bug is subject to a 90 day disclosure deadline. If 90 days elapse without an upstream patch, then the bug report will automatically become visible to the public.

When you fix this bug, please * mention the fix revision(s). * state whether the bug was a short-lived regression or an old bug in any stable releases. * add any other useful information. This information can help downstream consumers.

If you have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.