In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.
https://github.com/gpac/gpac/issues/1723
https://github.com/gpac/gpac/commit/22774aa9e62f586319c8f107f5bae950fed900bc