CVE-2026-90794: GPAC MP4Box use-after-free in gf_sg_script_load

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

GPAC is a multimedia framework that includes MP4Box, a utility for processing and creating MP4 video files. A vulnerability in MP4Box's scene graph processing allows an attacker to send a specially crafted XMT scene file that causes the application to reference freed memory, crashing the process and potentially enabling memory corruption attacks.

Technologies: Gpac MP4Box. Vendors: Gpac.

Quick answers

Is CVE-2026-90794 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-90794 being exploited in the wild.
How severe is CVE-2026-90794?
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-90794?
A patch was published on 2026-07-27: Fix commit 9eb40df4448b88d6a6ce3454657c06f47eff0b24 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-90794 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-90794?
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

The vulnerability is a use-after-free (CWE-416) in the gf_sg_script_load function within scenegraph/vrml_tools.c. While parsing malformed XMT scene files, the xmt_node_end function in loader_xmt.c can discard and free a Script node, but a dangling pointer to that node is queued for later processing. When gf_sg_command_apply calls gf_sg_script_load with the freed pointer, a heap-use-after-free read occurs. The vulnerability is remotely triggerable via a crafted XMT file passed to MP4Box. The attack requires network or local file access to provide the malicious XMT input. The fix (commit 9eb40df4) tracks whether a node was discarded and prevents queuing freed nodes for deferred script loading. Upgrade to version abi-16.23 or later to remediate.

Affected products

  • GPAC MP4Box up to f1219cde

Timeline

  • 2026-09-14: disclosed
  • 2026-07-27: patched: Fix commit 9eb40df4448b88d6a6ce3454657c06f47eff0b24

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.