In GPAC before 0.8.0, isomedia/isom_read.c in libgpac.a has a heap-based buffer over-read, as demonstrated by a crash in gf_m2ts_sync in media_tools/mpegts.c.
hello，I found a heap buffer overflow bug in gpac.

[bug details](http://blog.topsec.com.cn/gpac-heap-buffer-overflow-in-gf_m2ts_sync/)

[heap-over-flow.zip](https://github.com/gpac/gpac/files/3251236/heap-over-flow.zip)

heap buffer overflow in gf_m2ts_sync
This is a GitHub Issue
repo:gpac
owner:gpac
Title : heap buffer overflow in gf_m2ts_sync
Issue date:

--- start body ---
hello，I found a heap buffer overflow bug in gpac.

[bug details](http://blog.topsec.com.cn/gpac-heap-buffer-overflow-in-gf_m2ts_sync/)

[heap-over-flow.zip](https://github.com/gpac/gpac/files/3251236/heap-over-flow.zip)

--- end body ---

A heap buffer overflow vulnerability in the gf_m2ts_sync function of GPAC can be exploited by attackers to execute arbitrary code or cause a Denial of Service (DoS). This vulnerability arises from improper handling of memory allocation, which can lead to memory corruption.