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.
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/scenegraph/commands.c#L483-L502
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_proto.c#L102-L111
- https://github.com/gpac/gpac/commit/6d198eda188c0e813ac32a078ddb7546a2dc4368
- https://github.com/gpac/gpac/commit/a6954817dbdc4a5c9c2e9f7ea7d6b26ea8f057b1
- https://github.com/gpac/gpac/issues/3881
- https://github.com/gpac/gpac/issues/3938
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/209/209_gf_sg_proto_del_scenegraph_vrml_proto_c_108
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/217/217_gf_sg_proto_del_scenegraph_vrml_proto_c_108
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-use-after-free-in-gf-sg-proto-del-via-xmt-proto-delete
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred