Description
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.
Metrics
CVSS 3.1 6.6/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| gpac | gpac | <= 26.07.0 |
References
- https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L700-L710
- https://github.com/gpac/gpac/commit/5e620eff3bea16972dd948b2a153e416ffb1c81d
- https://github.com/gpac/gpac/issues/3762
- https://github.com/gpac/gpac/issues/3764
- 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
Timeline
- Published
- Nov 19, 2026
- Last modified
- Nov 19, 2026
- NVD status
- Deferred