GPAC MP4Box through 26.07.0 Uncontrolled Recursion via gf_sg_proto_instantiate
- State
- Published
- Severity
- 6.8 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 23, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| gpac gpac | 26.07.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | VulnCheck | |
| 3.1 | 5.5 Medium | VulnCheck |
Weaknesses
- CWE-674 Uncontrolled Recursion
References
- https://github.com/gpac/gpac/issues/3791Issue Tracker
- https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddfPatch
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_proto.c#L648-L660Technical Details
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/184/184_Material2D_Create_scenegraph_mpeg4_nodes_c_9322.xmtExploit
- VulnCheck Advisory: GPAC MP4Box through 26.07.0 Uncontrolled Recursion via gf_sg_proto_instantiateThird-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.