yara/macho_fuzzer: Heap-buffer-overflow in macho_handle_segment_64_be

2017-11-22T11:46:35
ID OSSFUZZ-4382
Type ossfuzz
Reporter Google
Modified 2017-12-23T14:05:27

Description

Project: https://github.com/VirusTotal/yara.git

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

Project: yara Fuzzer: libFuzzer_yara_macho_fuzzer Fuzz target binary: macho_fuzzer Job Type: libfuzzer_asan_yara Platform Id: linux

Crash Type: Heap-buffer-overflow READ 8 Crash Address: 0x6060000005f8 Crash State: macho_handle_segment_64_be macho_parse_file_64_be macho__load

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_yara&range=201711210612:201711220613

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

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.