Submit #914127: GPAC GPAC (MP4Box) gpac f1219cde (master, 2026-07-25) Use After Freeinfo

TitleGPAC GPAC (MP4Box) gpac f1219cde (master, 2026-07-25) Use After Free
DescriptionDescription: GPAC MP4Box at commit f1219cde contains a heap-use-after-free vulnerability in the XMT scene parser. While processing malformed XMT nodes and mismatched closing elements, xmt_node_end can unregister and free a Script node but still add the stale pointer to the deferred scripts_to_load list. When the scene command is later applied, gf_sg_script_load reads the freed node. Reproduction command: ./bin/gcc/MP4Box -add ../pocs/poc_3799 -new /tmp/out.mp4 Expected result: AddressSanitizer reports a heap-use-after-free READ of size 8 in gf_sg_script_load at scenegraph/vrml_tools.c:265. Impact: A crafted XMT file can crash MP4Box and cause denial of service. The heap lifetime violation may have additional memory-corruption consequences depending on allocator state. PoC: https://github.com/Ech06/CVE_submit/blob/main/pocs/poc_3799 Issue: https://github.com/gpac/gpac/issues/3799 Fix: https://github.com/gpac/gpac/commit/9eb40df4448b88d6a6ce3454657c06f47eff0b24
Source⚠️ https://github.com/Ech06/CVE_submit/blob/main/gpac_3799.md
User
 Ech06 (UID 98792)
Submission08/03/2026 17:22 (1 month ago)
Moderation09/13/2026 15:37 (1 month later)
StatusAccepted
VulDB entry403300 [GPAC up to f1219cde MP4Box scenegraph/vrml_tools.c gf_sg_script_load use after free]
Points20

Do you need the next level of professionalism?

Upgrade your account now!