imagemagick:ping_dng_fuzzer: Heap-buffer-overflow in LibRaw::sony_decrypt

2019-10-31T03:21:53
ID OSSFUZZ-18621
Type ossfuzz
Reporter Google
Modified 2019-12-03T16:42:08

Description

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

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

Project: imagemagick Fuzzing Engine: libFuzzer Fuzz Target: ping_dng_fuzzer Job Type: libfuzzer_asan_i386_imagemagick Platform Id: linux

Crash Type: Heap-buffer-overflow READ 4 Crash Address: 0xf5ff98e1 Crash State: LibRaw::sony_decrypt LibRaw::parseSonySRF LibRaw::parse_exif

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Crash Revision: https://oss-fuzz.com/revisions?job=libfuzzer_asan_i386_imagemagick&revision=201910120302

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

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.