GPAC MP4Box through 26.07.0 Use-After-Free in gf_node_unregister via PROTO Nodes
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| gpac gpac | 26.07.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 6.6 Medium | VulnCheck |
Weaknesses
- CWE-416 Use After Free
References
- https://github.com/gpac/gpac/issues/3904Issue Tracker
- https://github.com/gpac/gpac/issues/3940Issue Tracker
- https://github.com/gpac/gpac/commit/d76f3c667d9f86d25db43f2935519b0f8ce9ac27Patch
- https://github.com/gpac/gpac/commit/7bb26070e58b6c29a0a3140c65ad223e75d44f17Patch
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L3159-L3170Technical Details
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L746-L749Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/207/207_gf_node_unregister_scenegraph_base_scenegraph_c_772Exploit
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/219/219_gf_node_unregister_scenegraph_base_scenegraph_c_772Exploit
- https://github.com/gpac/gpac/issues/3845Issue Tracker
- https://github.com/gpac/gpac/issues/3843Issue Tracker
- https://github.com/gpac/gpac/commit/6fc2832ba83467bbf89349395e89de1353ab5b77Patch
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c#L196-L252Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/200/200_gf_node_get_field_scenegraph_base_scenegraph_c_2148Exploit
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/198/198_gf_dom_listener_process_add_scenegraph_dom_events_c_239Exploit
- VulnCheck Advisory: GPAC MP4Box through 26.07.0 Use-After-Free in gf_node_unregister via PROTO NodesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.