libspng:spng_read_fuzzer: Heap-double-free in spng__free

2020-05-28T21:57:27
ID OSSFUZZ-22720
Type ossfuzz
Reporter Google
Modified 2020-06-29T20:01:07

Description

Project: https://gitlab.com/randy408/libspng.git https://github.com/randy408/libspng.git

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

Project: libspng Fuzzing Engine: libFuzzer Fuzz Target: spng_read_fuzzer Job Type: libfuzzer_asan_libspng Platform Id: linux

Crash Type: Heap-double-free Crash Address: 0x625000005100 Crash State: spng__free spng__inflate_stream read_non_idat_chunks

Sanitizer: address (ASAN)

Recommended Security Severity: High

Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_libspng&range=202005260556:202005270235

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

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.