ffmpeg:ffmpeg_BSF_HEVC_METADATA_fuzzer: Index-out-of-bounds in cbs_h265_read_slice_segment_header

2020-02-24T00:58:52
ID OSSFUZZ-20854
Type ossfuzz
Reporter Google
Modified 2020-05-25T20:07:53

Description

Project: https://git.ffmpeg.org/ffmpeg.git

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

Project: ffmpeg Fuzzing Engine: libFuzzer Fuzz Target: ffmpeg_BSF_HEVC_METADATA_fuzzer Job Type: libfuzzer_ubsan_ffmpeg Platform Id: linux

Crash Type: Index-out-of-bounds Crash Address: Crash State: cbs_h265_read_slice_segment_header cbs_h265_read_nal_unit cbs_read_fragment_content

Sanitizer: undefined (UBSAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_ffmpeg&range=201912060352:201912080352

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

Issue filed automatically.

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.