imagemagick/encoder_heic_fuzzer: Bad-cast to std::__1::__shared_weak_count from invalid vptr in std::__1::shared_ptr<heif::HeifPixelImage>::~shared_ptr

Type ossfuzz
Reporter Google
Modified 2019-07-21T15:26:45



Detailed report:

Project: imagemagick Fuzzer: libFuzzer_imagemagick_encoder_heic_fuzzer Fuzz target binary: encoder_heic_fuzzer Job Type: libfuzzer_ubsan_imagemagick Platform Id: linux

Crash Type: Bad-cast Crash Address: 0x0000007f9b29 Crash State: Bad-cast to std::__1::__shared_weak_count from invalid vptr std::__1::shared_ptr<heif::HeifPixelImage>::~shared_ptr heif_image_release

Sanitizer: undefined (UBSAN)

Recommended Security Severity: High


Reproducer Testcase:

Issue filed automatically.

See 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