open62541/fuzz_binary_message: Heap-use-after-free in String_clear

2019-05-03T15:21:52
ID OSSFUZZ-14567
Type ossfuzz
Reporter Google
Modified 2019-06-06T15:32:51

Description

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

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

Project: open62541 Fuzzer: libFuzzer_open62541_fuzz_binary_message Fuzz target binary: fuzz_binary_message Job Type: libfuzzer_asan_open62541 Platform Id: linux

Crash Type: Heap-use-after-free READ 8 Crash Address: 0x60d000004fe8 Crash State: String_clear clearStructure UA_Array_delete

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_open62541&range=201904301631:201905010142

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

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.