Description
GPAC MP4Box through 26.07.0 contains an uncontrolled recursion vulnerability in gf_sg_proto_instantiate() in src/scenegraph/vrml_proto.c that lacks cycle detection or depth limits. Attackers can craft an XMT scene whose PROTO body instantiates itself directly or indirectly, exhausting the stack and crashing MP4Box when imported.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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/vrml_proto.c#L648-L660
- https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddf
- https://github.com/gpac/gpac/issues/3791
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/184/184_Material2D_Create_scenegraph_mpeg4_nodes_c_9322.xmt
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-uncontrolled-recursion-via-gf-sg-proto-instantiate
Timeline
- Published
- Nov 22, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Deferred