GPAC MP4Box through 26.07.0 Use-After-Free in gf_node_unregister via XMT DEF Lookup
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 26, 2026
- Reserved
- Nov 22, 2026
Description
GPAC MP4Box through 26.07.0 contains a use-after-free vulnerability because xmt_find_node() in loader_xmt.c resolves DEF names without verifying the node belongs to the current scene graph. Attackers can craft an XMT scene reusing a PROTO node across graphs, causing gf_node_unregister() to read freed memory during teardown, crashing MP4Box and 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/3865Issue Tracker
- https://github.com/gpac/gpac/commit/c3aa04432e63e0f19b41f5c898a9073eaf6b5815Patch
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L720-L733Technical Details
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_proto.c#L126-L130Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/206/206_gf_node_unregister_scenegraph_base_scenegraph_c_744Exploit
- VulnCheck Advisory: GPAC MP4Box through 26.07.0 Use-After-Free in gf_node_unregister via XMT DEF LookupThird-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.