An issue was discovered in libgpac.a in GPAC before 0.8.0, as demonstrated by MP4Box. It contains a Use-After-Free vulnerability in gf_m2ts_process_pmt in media_tools/mpegts.c that can cause a denial of service via a crafted MP4 file.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://github.com/gpac/gpac/issues/1269 | third party advisory exploit |
https://github.com/gpac/gpac/commit/1ab4860609f2e7a35634930571e7d0531297e090 | third party advisory patch |
https://github.com/gpac/gpac/commit/98b727637e32d1d4824101d8947e2dbd573d4fc8 | third party advisory patch |