Use After Free in Gpac
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 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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.001, 2.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/gpac/gpac/issues/4031 (issue-tracking)
- github.com/gpac/gpac/commit/a2e5c62c213b5329a4572fe8e7c333e1ca26d028 (patch)
- github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_proto.c (technical-description)
- github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c (technical-description)
- github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/223/223_gf_sg_proto_del_scen… (exploit)
- github.com/gpac/gpac (product)
- www.vulncheck.com/advisories/gpac-through-26.07.0-use-after-free-in-gf-sg-proto… (third-party-advisory)
- www.openwall.com/lists/oss-security/2026/11/14/14