llvm: Heap-buffer-overflow in llvm::object::WasmObjectFile::parseCustomSection

2017-08-29T21:27:17
ID OSSFUZZ-3217
Type ossfuzz
Reporter Google
Modified 2019-02-14T22:41:03

Description

Project: https://github.com/llvm/llvm-project.git

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

Project: llvm Fuzzer: libFuzzer_llvm_llvm-dwarfdump-fuzzer Fuzz target binary: llvm-dwarfdump-fuzzer Job Type: libfuzzer_asan_llvm Platform Id: linux

Crash Type: Heap-buffer-overflow READ 1 Crash Address: 0x60200000009a Crash State: llvm::object::WasmObjectFile::parseCustomSection llvm::object::WasmObjectFile::parseSection llvm::object::WasmObjectFile::WasmObjectFile

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_llvm&range=201708280446:201708291805

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

Issue filed automatically.

See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information.

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 have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.