imagemagick/encoder_dng_fuzzer: Heap-buffer-overflow in LibRaw::samsung3_load_raw

2019-02-18T17:19:38
ID OSSFUZZ-13182
Type ossfuzz
Reporter Google
Modified 2019-08-14T12:00:40

Description

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

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

Project: imagemagick Fuzzer: afl_imagemagick_encoder_dng_fuzzer Fuzz target binary: encoder_dng_fuzzer Job Type: afl_asan_imagemagick Platform Id: linux

Crash Type: Heap-buffer-overflow READ 2 Crash Address: 0x6310000007fa Crash State: LibRaw::samsung3_load_raw LibRaw::unpack ReadDNGImage

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=afl_asan_imagemagick&range=201804090435:201804100437

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

Issue manually filed by: alex.gaynor

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for instructions to reproduce this bug locally.

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 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.