Lucene search

K
ossfuzzGoogleOSSFUZZ-15308
HistoryJun 16, 2019 - 2:21 p.m.

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

2019-06-1614:21:25
Google
bugs.chromium.org
15

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

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

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

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_imagemagick&range=201906150230:201906160232

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

Issue filed automatically.

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.