| 标题 | GPAC GPAC (MP4Box) gpac f1219cde (master, 2026-07-25) Use After Free |
|---|
| 描述 | Description:
GPAC MP4Box at commit f1219cde contains a heap-use-after-free vulnerability during BT DEF/USE resolution. When gf_bt_sf_node fails to parse a malformed node, the error path unregisters and frees the partially constructed node but leaves its pointer in parser->def_nodes. A later DEF lookup calls gf_node_get_name with the dangling pointer.
Reproduction command:
./bin/gcc/MP4Box -add ../pocs/poc_3803 -new /tmp/out.mp4
Expected result:
AddressSanitizer reports a heap-use-after-free READ of size 8 in gf_node_get_name at scenegraph/base_scenegraph.c:1340.
Impact:
A crafted BT scene can crash MP4Box during DEF/USE name resolution and cause denial of service. Reuse of the freed heap region may create additional memory-corruption risk.
PoC:
https://github.com/Ech06/CVE_submit/blob/main/pocs/poc_3803
Issue:
https://github.com/gpac/gpac/issues/3803
Fix:
https://github.com/gpac/gpac/commit/9eb40df4448b88d6a6ce3454657c06f47eff0b24 |
|---|
| 来源 | ⚠️ https://github.com/Ech06/CVE_submit/blob/main/gpac_3803.md |
|---|
| 用户 | Ech06 (UID 98792) |
|---|
| 提交 | 2026-08-03 16時55分 (1 月前) |
|---|
| 管理 | 2026-09-13 15時37分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403299 [GPAC 直到 f1219cde MP4Box base_scenegraph.c gf_node_get_name 内存损坏] |
|---|
| 积分 | 20 |
|---|