libreoffice/wmffuzzer: Heap-buffer-overflow in tools::Polygon emfio::EmfReader::ReadPolygon<short>

2018-01-05T19:51:27
ID OSSFUZZ-4980
Type ossfuzz
Reporter Google
Modified 2019-03-04T16:56:33

Description

Project: git://anongit.freedesktop.org/libreoffice/core

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

Project: libreoffice Fuzzer: libFuzzer_libreoffice_wmffuzzer Fuzz target binary: wmffuzzer Job Type: libfuzzer_asan_libreoffice Platform Id: linux

Crash Type: Heap-buffer-overflow WRITE 16 Crash Address: 0x606000144420 Crash State: tools::Polygon emfio::EmfReader::ReadPolygon<short> tools::Polygon emfio::EmfReader::ReadPolygonWithSkip<short> emfio::EmfReader::ReadEnhWMF

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_libreoffice&range=201711140526:201711141558

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

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.