libheif/file-fuzzer: Index-out-of-bounds in decoder_context::has_sps

2019-03-08T03:23:32
ID OSSFUZZ-13591
Type ossfuzz
Reporter Google
Modified 2019-05-10T15:25:59

Description

Project: https://github.com/strukturag/libheif.git

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

Project: libheif Fuzzer: libFuzzer_libheif_file-fuzzer Fuzz target binary: file-fuzzer Job Type: libfuzzer_ubsan_libheif Platform Id: linux

Crash Type: Index-out-of-bounds Crash Address: Crash State: decoder_context::has_sps pic_parameter_set::read decoder_context::read_pps_NAL

Sanitizer: undefined (UBSAN)

Recommended Security Severity: Medium

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

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.