CVE-2026-132766
GPAC before 26.07.0 contains a use-after-free vulnerability in MP4Box because gf_sg_reset frees DEF'd proto sub-graph nodes without removing them from the GF_P…
Impact
GPAC before 26.07.0 contains a use-after-free vulnerability in MP4Box because gf_sg_reset frees DEF'd proto sub-graph nodes without removing them from the GF_Proto node_code list. Attackers can supply a crafted XMT scene with nested PROTOs so gf_sg_proto_del unregisters freed nodes during teardown, crashing MP4Box and corrupting the heap.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed, high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| GPAC | before 26.07.0 | |
| Gpac | Gpac | before 26.07.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/gpac/gpac/issues/3706
- https://github.com/gpac/gpac/commit/14a22a69f8f6120392fa17eff8fd54ad162e9a3e
- https://github.com/gpac/gpac/releases/tag/v26.07.0
- https://github.com/gpac/gpac/blob/v26.02.0/src/scenegraph/vrml_proto.c#L105-L125
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/121/121_gf_node_unregister_scenegraph_base_scenegraph_c_689
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-in-gf-node-unregister-via-gf-sg-proto-del
- https://github.com/advisories/GHSA-pjj2-8cjh-m7x7
- https://nvd.nist.gov/vuln/detail/CVE-2026-132766