imagemagick:encoder_dng_fuzzer: Global-buffer-overflow in LibRaw::parseSigmaMakernote

2020-06-28T15:10:15
ID OSSFUZZ-23771
Type ossfuzz
Reporter Google
Modified 2020-07-29T20:09:15

Description

Project: https://github.com/imagemagick/imagemagick.git

Detailed Report: https://oss-fuzz.com/testcase?key=5693021307011072

Project: imagemagick Fuzzing Engine: honggfuzz Fuzz Target: encoder_dng_fuzzer Job Type: honggfuzz_asan_imagemagick Platform Id: linux

Crash Type: Global-buffer-overflow READ 4 Crash Address: 0x000001a1f0e8 Crash State: LibRaw::parseSigmaMakernote LibRaw::parse_makernote LibRaw::parse_exif

Sanitizer: address (ASAN)

Regressed: https://oss-fuzz.com/revisions?job=honggfuzz_asan_imagemagick&range=202005070426:202005080137

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

Issue manually filed by: alex.gaynor

See https://google.github.io/oss-fuzz/advanced-topics/reproducing for instructions to reproduce this bug locally. 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 need to contact the OSS-Fuzz team with a question, concern, or any other feedback, please file an issue at https://github.com/google/oss-fuzz/issues. Comments on individual Monorail issues are not monitored.

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.