GPAC MP4Box through 26.07.0 Use-After-Free in gf_sg_proto_del via XMT PROTO Delete
- 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 gf_sg_proto_del that allows attackers to free PROTOs still owned by another scene command via the GF_SG_PROTO_DELETE handler. Attackers can craft an XMT scene that declares a PROTO in one command and deletes it by ID in another, crashing MP4Box and corrupting heap memory when opened.
| 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/3881Issue Tracker
- https://github.com/gpac/gpac/issues/3938Issue Tracker
- https://github.com/gpac/gpac/commit/6d198eda188c0e813ac32a078ddb7546a2dc4368Patch
- https://github.com/gpac/gpac/commit/a6954817dbdc4a5c9c2e9f7ea7d6b26ea8f057b1Patch
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c#L483-L502Technical Details
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_proto.c#L102-L111Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/209/209_gf_sg_proto_del_scenegraph_vrml_proto_c_108Exploit
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/217/217_gf_sg_proto_del_scenegraph_vrml_proto_c_108Exploit
- VulnCheck Advisory: GPAC MP4Box through 26.07.0 Use-After-Free in gf_sg_proto_del via XMT PROTO DeleteThird-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.