medium6.9
CVE-2026-132765
GPAC MP4Box through 26.07.0 contains a use-after-free vulnerability in gf_node_try_destroy because Conditional node commands keep raw pointers to target nodes …
Impact
GPAC MP4Box through 26.07.0 contains a use-after-free vulnerability in gf_node_try_destroy because Conditional node commands keep raw pointers to target nodes freed by gf_sg_reset(). Attackers can supply a crafted XMT scene processed with -info or -add to trigger heap use-after-free, crashing the process and corrupting heap memory.
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 | 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/3762
- https://github.com/gpac/gpac/issues/3764
- https://github.com/gpac/gpac/commit/5e620eff3bea16972dd948b2a153e416ffb1c81d
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L700-L710
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/125/125_gf_node_try_destroy_scenegraph_base_scenegraph_c_704
- https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-use-after-free-in-gf-node-try-destroy-via-conditional-command
- https://github.com/advisories/GHSA-gmg6-rv8r-m9ch
- https://nvd.nist.gov/vuln/detail/CVE-2026-132765