GPAC MP4Box through 26.07.0 Use-After-Free in gf_sg_command_new via XMT Loader
- 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 scene loader that retains a pointer to a PROTO sub-graph freed by gf_sg_proto_del(). Attackers can supply a crafted XMT file imported with MP4Box, causing xmt_parse_command() to update the freed graph's referencing_commands list and crash 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-416 Use After Free
References
- https://github.com/gpac/gpac/issues/3787Issue Tracker
- https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddfPatch
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c#L40-L45Technical Details
- https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L2521-L2526Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/179/179_gf_sg_command_new_scenegraph_commands_c_44.xmtExploit
- VulnCheck Advisory: GPAC MP4Box through 26.07.0 Use-After-Free in gf_sg_command_new via XMT LoaderThird-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.