Description
GPAC MP4Box through 26.07.0 contains a use-after-free vulnerability in the XMT loader that allows scene commands to reference PROTO sub-graph nodes freed by a scene replace command. Attackers can supply a crafted XMT file that causes gf_node_get_field() and gf_node_unregister() to access freed memory, crashing MP4Box and potentially corrupting heap memory.
Metrics
CVSS 3.1 6.6/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| gpac | gpac | <= 26.07.0 |
References
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L3159-L3170
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L746-L749
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c#L196-L252
- https://github.com/gpac/gpac/commit/6fc2832ba83467bbf89349395e89de1353ab5b77
- https://github.com/gpac/gpac/commit/7bb26070e58b6c29a0a3140c65ad223e75d44f17
- https://github.com/gpac/gpac/commit/d76f3c667d9f86d25db43f2935519b0f8ce9ac27
- https://github.com/gpac/gpac/issues/3843
- https://github.com/gpac/gpac/issues/3845
- https://github.com/gpac/gpac/issues/3904
- https://github.com/gpac/gpac/issues/3940
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/198/198_gf_dom_listener_process_add_scenegraph_dom_events_c_239
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/200/200_gf_node_get_field_scenegraph_base_scenegraph_c_2148
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/207/207_gf_node_unregister_scenegraph_base_scenegraph_c_772
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/219/219_gf_node_unregister_scenegraph_base_scenegraph_c_772
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-use-after-free-in-gf-node-unregister-via-proto-nodes
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred