---
id: "CVE-2026-130061"
page: "https://infrastack.ai/live/CVE-2026-130061"
kind: "vulnerability"
aliases: ["CVE-2026-130061"]
title: "GPAC: double free in scene teardown lets crafted XMT file crash MP4Box"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "GPAC", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["gpac", "media-processing", "mp4box", "package"]
not_affected_if: ["gpac-26.07.0-or-later", "trusted-input-only"]
published_at: "2026-11-16T22:18:20+00:00"
first_seen_at: "2026-11-16T22:39:13+00:00"
updated_at: "2026-11-16T22:40:56+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130061", "first_seen_at": "2026-11-16T22:39:13+00:00"}]
exploit_sources: []
---

# GPAC: double free in scene teardown lets crafted XMT file crash MP4Box

Link for people: https://infrastack.ai/live/CVE-2026-130061 (this .md is for agents)

GPAC contains a double free in gf_sg_sfcommand_del() that is triggered while tearing down a scene. A crafted XMT or MP4 file makes the MP4Box tool free the same command twice, crashing the process.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:GPAC affected range not listed fixed no fixed version listed

## How to check

- Check the installed GPAC version with `MP4Box -version` and compare it to the fixed release.
- Look for MP4Box or GPAC use on systems that process untrusted XMT or MP4 files.

## Fix

- GPAC `26.07.0` (fixes all versions before 26.07.0)

## Timeline

- 2026-11-16T22:39:13+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-130061

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/gpac-before-26.07.0-double-free-via-gf-sg-sfcommand-del-in-xmt-scenes
- [fix] Patch: github.com https://github.com/gpac/gpac/commit/6f54ff86b2fdc045d6a683b93f9ced8928d8b35c
- [fix] Release notes: github.com https://github.com/gpac/gpac/releases/tag/v26.07.0

## From the sources

GPAC before 26.07.0 contains a double free vulnerability in gf_sg_sfcommand_del() that allows attackers to crash the process via crafted XMT scenes. Attackers can supply a crafted XMT/MP4 file where a Conditional node's SFCommandBuffer references a command freed twice during scene teardown, causing MP4Box to crash.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
