libreoffice:docxfuzzer: Bad-cast to SwIndexReg from invalid vptr in SwIndex::Remove

2019-10-25T19:51:24
ID OSSFUZZ-18534
Type ossfuzz
Reporter Google
Modified 2020-01-15T16:40:06

Description

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

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

Project: libreoffice Fuzzing Engine: libFuzzer Fuzz Target: docxfuzzer Job Type: libfuzzer_ubsan_libreoffice Platform Id: linux

Crash Type: Bad-cast Crash Address: 0x000018a118d8 Crash State: Bad-cast to SwIndexReg from invalid vptr SwIndex::Remove SwIndex::~SwIndex

Sanitizer: undefined (UBSAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_libreoffice&range=201910230329:201910250331

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

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.