# CVE-2026-90791: GPAC MP4Box use-after-free in gf_node_unregister

Source: https://junglewise.ai/threats/cve-2026-90791-gpac-mp4box-use-after-free-in-gf-node-unregister  
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-90791 · Severity: medium · CVSS 6.3 · Published 2026-09-14

GPAC is an open-source multimedia framework that includes MP4Box, a tool for processing multimedia files. A malformed XMT scene document can trigger a use-after-free memory error in MP4Box during file processing, causing the application to crash and resulting in a denial of service. In embedded implementations, this vulnerability could potentially allow memory corruption leading to more severe impact.

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

## Quick answers

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

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

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

**Is there a fix for CVE-2026-90791?** 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-90791 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-90791?** Check whether you run Gpac MP4Box 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

A use-after-free vulnerability (CWE-416) exists in the gf_node_unregister function within GPAC's scenegraph component, affecting versions up to f1219cde. The root cause is improper handling of nested or prematurely terminated ProtoDeclare elements in XMT documents, which leaves stale prototype default-node references in the scene graph. During cleanup, these dangling pointers are dereferenced after the prototype subgraph has been freed. The vulnerability is triggered when processing crafted XMT files with malformed prototype declarations, and requires no authentication or user interaction beyond opening the malicious file. An attacker can achieve denial of service through application crash; in certain embedded contexts, heap reuse could enable further memory corruption. The fix (commit 9eb40df4) rejects nested prototype declarations and explicitly unregisters prototype default-node values before subgraph destruction.

## Affected products

- GPAC MP4Box up to f1219cde

## Timeline

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

## References

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

## Related threats

- [GPAC MP4Box segmentation fault in dump_isom_saps](https://junglewise.ai/threats/cve-2025-55667-a-segmentation-violation-in-the-dump-isom-saps-function-mp4box)
- [GPAC MP4Box use-after-free in gf_filter_pid_get_packet](https://junglewise.ai/threats/cve-2025-55654-a-use-after-free-in-the-gf-filter-pid-get-packet-function-filter)
- [GPAC MP4Box floating point exception in gf_parse_lfrac](https://junglewise.ai/threats/cve-2025-55653-gpac-mp4box-v2-4-was-discovered-to-contain-a-floating-point)
- [GPAC MP4Box heap buffer overflow in stbl_AddSize](https://junglewise.ai/threats/cve-2025-55640-a-heap-buffer-overflow-in-the-stbl-addsize-function-isomedia-stbl)
- [GPAC MP4Box use-after-free in gf_node_deactivate_ex](https://junglewise.ai/threats/cve-2026-90827-gpac-mp4box-use-after-free-in-gf-node-deactivate-ex)
