postgis: Heap-buffer-overflow in ptarray_is_closed_3d

2017-07-13T06:47:44
ID OSSFUZZ-2599
Type ossfuzz
Reporter Google
Modified 2017-10-11T13:05:51

Description

Project: https://git.osgeo.org/gitea/postgis/postgis.git

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

Project: postgis Fuzzer: afl_postgis_wkb_import_fuzzer Fuzz target binary: wkb_import_fuzzer Job Type: afl_asan_postgis Platform Id: linux

Crash Type: Heap-buffer-overflow READ {*} Crash Address: 0x6020000000b1 Crash State: ptarray_is_closed_3d lwtriangle_from_wkb_state lwgeom_from_wkb_state

Sanitizer: address (ASAN)

Recommended Security Severity: Medium

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

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.