CVE-2026-128240 GPAC through 26.07.0 Use-After-Free in gf_sg_proto_del During Scene Teardown
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-128240?
CVE-2026-128240 is a medium-severity vulnerability in gpac, published on 13 Nov 2026.
Official description
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.
Weakness: CWE-416
Which versions are affected by CVE-2026-128240?
1 open source package ship an affected version, including gpac/gpac.
| Package | Affected | Fixed in |
|---|---|---|
gpac/gpac GitHubpkg:github/gpac/gpac | All versions to 26.07.0 | None |
How do I fix CVE-2026-128240?
No fix has been published for CVE-2026-128240 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-128240 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-128240 exists.
Sources
Also known as GHSA-ffqp-3677-6hc6, UBUNTU-CVE-2026-128240.