Description
GPAC MP4Box through 26.07.0 contains a double free vulnerability in the XMT-A scene loader that leaves a stale GF_Command pointer in a Conditional node's SFCommandBuffer when the buffer element is not properly closed. Attackers can persuade users to process a crafted XMT file with malformed nesting, causing gf_sg_sfcommand_del() to free the live command, corrupting heap memory and crashing the process.
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#L1908-L1920
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L197-L203
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_tools.c#L620-L629
- https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddf
- https://github.com/gpac/gpac/commit/5e620eff3bea16972dd948b2a153e416ffb1c81d
- https://github.com/gpac/gpac/commit/6fc2832ba83467bbf89349395e89de1353ab5b77
- https://github.com/gpac/gpac/issues/3766
- https://github.com/gpac/gpac/issues/3767
- https://github.com/gpac/gpac/issues/3773
- https://github.com/gpac/gpac/issues/3774
- https://github.com/gpac/gpac/issues/3788
- https://github.com/gpac/gpac/issues/3837
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/156/156_gf_sg_sfcommand_del_scenegraph_vrml_tools_c_628.xmt
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/180/180_gf_sg_del_scenegraph_base_scenegraph_c_202.xmt
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/191/191_gf_sg_sfcommand_del_scenegraph_vrml_tools_c_632
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-double-free-via-gf-sg-sfcommand-del
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred