| Titre | GPAC GPAC (MP4Box) gpac f1219cde (master, 2026-07-25) Use After Free |
|---|
| Description | Description:
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 |
|---|
| La source | ⚠️ https://github.com/Ech06/CVE_submit/blob/main/gpac_3799.md |
|---|
| Utilisateur | Ech06 (UID 98792) |
|---|
| Soumission | 03/08/2026 17:22 (il y a 1 mois) |
|---|
| Modérer | 13/09/2026 15:37 (1 month later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 403300 [GPAC jusqu’à f1219cde MP4Box scenegraph/vrml_tools.c gf_sg_script_load buffer overflow] |
|---|
| Points | 20 |
|---|