medium6.8
CVE-2026-128240
GPAC through 26.07.0 contains a use-after-free vulnerability in gf_sg_proto_del() in src/scenegraph/vrml_proto.c because gf_sg_reset() frees unregistered proto…
Impact
GPAC through 26.07.0 contains a use-after-free vulnerability in gf_sg_proto_del() in src/scenegraph/vrml_proto.c because gf_sg_reset() frees unregistered prototypes still referenced by scene commands. Attackers can supply a crafted XMT/BT scene declaring prototypes via commands, processed by MP4Box -chap, to trigger freed memory access and crash the process.
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: high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| GPAC | Version 0 ≤26.07.0 | |
| Gpac | Gpac | through 26.07.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/gpac/gpac/issues/4031
- https://github.com/gpac/gpac/commit/a2e5c62c213b5329a4572fe8e7c333e1ca26d028
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_proto.c#L103-L111
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L537-L542
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/223/223_gf_sg_proto_del_scenegraph_vrml_proto_c.xmt
- https://github.com/gpac/gpac
- https://www.vulncheck.com/advisories/gpac-through-26.07.0-use-after-free-in-gf-sg-proto-del-during-scene-teardown
- https://github.com/advisories/GHSA-ffqp-3677-6hc6
- https://nvd.nist.gov/vuln/detail/CVE-2026-128240
- http://www.openwall.com/lists/oss-security/2026/11/14/14