imagemagick/encoder_j2k_fuzzer: Heap-buffer-overflow in ReadJP2Image

2019-06-23T04:29:34
ID OSSFUZZ-15453
Type ossfuzz
Reporter Google
Modified 2020-04-01T20:46:55

Description

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

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

Project: imagemagick Fuzzer: libFuzzer_imagemagick_encoder_j2k_fuzzer Fuzz target binary: encoder_j2k_fuzzer Job Type: libfuzzer_asan_imagemagick Platform Id: linux

Crash Type: Heap-buffer-overflow READ 4 Crash Address: 0x62b000006fd0 Crash State: ReadJP2Image ReadImage BlobToImage

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_imagemagick&range=201902190429:201902200433

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

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.