# CVE-2026-90687: GPAC MP4Box use-after-free in gf_node_changed_internal

Source: https://junglewise.ai/threats/cve-2026-90687-gpac-mp4box-use-after-free-in-gf-node-changed-internal  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-14. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-90687 · Severity: medium · CVSS 6.3 · Published 2026-09-14

GPAC is an open-source multimedia framework used for video streaming, transcoding, and packaging. The MP4Box component contains a use-after-free vulnerability that can be triggered when processing malformed scene graph files, leading to application crashes and potential heap memory corruption during cleanup operations.

Technologies: [Gpac](https://junglewise.ai/threats/technologies/gpac). Vendors: [Gpac](https://junglewise.ai/threats/vendors/gpac).

## Quick answers

**Is CVE-2026-90687 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-90687 being exploited in the wild.

**How severe is CVE-2026-90687?** Medium severity, with a CVSS score of 6.3, published 14 September 2026.

**Which products and versions are affected?** Gpac up to commit f1219cde.

**Is there a fix for CVE-2026-90687?** A patch was published on 2026-07-27: Upstream fix commit 9eb40df4448b88d6a6ce3454657c06f47eff0b24 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-90687 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-90687?** Check whether you run Gpac at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This vulnerability is a CWE-416 use-after-free flaw in the gf_node_replace() function within GPAC's scene graph handling code (scenegraph/base_scenegraph.c). The root cause is incorrect operation ordering: the function unregisters an old node before notifying the parent through gf_node_changed(), which causes the node and related prototype state to be freed. The subsequent parent notification traverses freed memory in gf_node_changed_internal(), triggering a heap-use-after-free read. The vulnerability is reachable through normal MP4Box -add file processing of untrusted scene description files, requiring no authentication or user interaction beyond file processing. An attacker can craft a malformed scene file to trigger the defect, causing MP4Box to crash during cleanup and potentially achieving heap memory corruption. The upstream fix (commit 9eb40df4) reorders operations to notify the parent before unregistering, ensuring the node remains valid during traversal. Upgrade to GPAC version abi-16.23 or apply patch 9eb40df4448b88d6a6ce3454657c06f47eff0b24.

## Affected products

- GPAC GPAC up to commit f1219cde

## Timeline

- 2026-09-14: disclosed
- 2026-07-27: patched: Upstream fix commit 9eb40df4448b88d6a6ce3454657c06f47eff0b24
- 2026-07-27: other: Publicly disclosed

## References

- [https://github.com/Ech06/CVE_submit/blob/main/gpac_3800.md](https://github.com/Ech06/CVE_submit/blob/main/gpac_3800.md)
- [https://github.com/gpac/gpac/](https://github.com/gpac/gpac/)

## Related threats

- [GPAC type confusion in drawable_get_aspect_2d_mpeg4 and TraverseShape](https://junglewise.ai/threats/cve-2026-124031-gpac-through-26-07-0-contains-a-type-confusion-vulnerability-in)
- [GPAC type confusion in gf_sg_command_apply](https://junglewise.ai/threats/cve-2026-124030-gpac-through-26-07-0-contains-a-type-confusion-vulnerability-in)
- [GPAC out-of-bounds write in AIT parser](https://junglewise.ai/threats/cve-2026-109827-a-vulnerability-has-been-found-in-gpac-up-to-26-07-0-this)
- [GPAC use after free in MP4Box filter queue](https://junglewise.ai/threats/cve-2026-108539-a-vulnerability-was-detected-in-gpac-up-to-26-07-0-this-affects)
- [GPAC buffer overflow in DASH Client URL resolution](https://junglewise.ai/threats/cve-2026-103227-a-weakness-has-been-identified-in-gpac-up-to-26-07-0-affected-by)
