GPAC MP4Box through 26.07.0 Double Free via gf_sg_sfcommand_del
- 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 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.
| 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-415 Double Free
References
- https://github.com/gpac/gpac/issues/3767Issue Tracker
- https://github.com/gpac/gpac/issues/3766Issue Tracker
- https://github.com/gpac/gpac/issues/3773Issue Tracker
- https://github.com/gpac/gpac/issues/3774Issue Tracker
- https://github.com/gpac/gpac/commit/5e620eff3bea16972dd948b2a153e416ffb1c81dPatch
- https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddfPatch
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_tools.c#L620-L629Technical Details
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L1908-L1920Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/156/156_gf_sg_sfcommand_del_scenegraph_vrml_tools_c_628.xmtExploit
- https://github.com/gpac/gpac/issues/3788Issue Tracker
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L197-L203Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/180/180_gf_sg_del_scenegraph_base_scenegraph_c_202.xmtExploit
- https://github.com/gpac/gpac/issues/3837Issue Tracker
- https://github.com/gpac/gpac/commit/6fc2832ba83467bbf89349395e89de1353ab5b77Patch
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/191/191_gf_sg_sfcommand_del_scenegraph_vrml_tools_c_632Exploit
- VulnCheck Advisory: GPAC MP4Box through 26.07.0 Double Free via gf_sg_sfcommand_delThird-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.