Skip to main content

GPAC MP4Box CVE-2026-134662

| EUVDEUVD-2026-132621 MEDIUM
Double Free (CWE-415)
2026-11-22 disclosure@vulncheck.com GHSA-jm24-6hj9-q637
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious XMT scene file with malformed nesting
  2. Delivery
    Persuade user to process file with MP4Box
  3. Exploit
    Trigger stale GF_Command via Conditional SFCommandBuffer
  4. Execution
    gf_sg_sfcommand_del() double-frees live command
  5. Impact
    Corrupt heap and crash process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

Exploitation requires that a user be persuaded to open or process a crafted XMT-A scene file with GPAC MP4Box; the file must contain a Conditional node whose SFCommandBuffer element is improperly closed (malformed nesting) so a stale GF_Command pointer remains when gf_sg_sfcommand_del() runs. Limiting factors that reduce real-world risk: the vector is local (AV:L), passive user interaction is required to process the file (UI:P), and the affected code path is the XMT-A scene loader specifically, so only workflows that feed untrusted XMT content to MP4Box (through 26.07.0) are exposed; there is no remote or network-triggerable surface and no authentication is involved (PR:N).

Impact

This is a medium-severity, DoS-oriented issue rather than a top-tier emergency. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, score 6.9) and the description agree: exploitation is local and requires the victim to process an attacker-supplied XMT file, so there is no network attack surface and no self-propagation. The dominant impact is availability (VA:H) - a heap-corrupting double free that crashes the MP4Box process - with only low confidentiality/integrity impact (VC:L/VI:L) and no demonstrated code execution despite CWE-415's theoretical potential. No EPSS score and no KEV status were provided in the input; absence of a KEV listing plus the 'this_month' decision label argue against treating this as actively exploited or emergency-grade. Three PoC .xmt files are referenced but are flagged as not verified as working exploit code, so proof-of-concept availability should not be read as weaponization. Net: a real, worth-patching bug for anyone running GPAC/MP4Box over untrusted media, but its risk is gated by required user interaction and a local vector, keeping it below the priority of a remote unauthenticated flaw. EPSS data is missing and should be checked to refine prioritization.

Exploit ScenarioDerived

An attacker crafts a malicious XMT scene file in which a Conditional node's SFCommandBuffer element is left improperly closed (malformed nesting) and persuades a victim to process it with GPAC MP4Box, for example via a shared media asset or an automated transcoding/packaging pipeline. During parsing, gf_sg_sfcommand_del() frees a GF_Command that is still live, producing a double free that corrupts the heap and crashes the process. Three public PoC XMT samples are referenced, but they are not verified as working exploit code, and the demonstrated outcome is denial of service consistent with the local, user-interaction-required (AV:L/UI:P) vector.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 22, 2026

Heap corruption and process crashes in GPAC MP4Box through 26.07.0 stem from a double free in the XMT-A scene loader, where a Conditional node whose SFCommandBuffer element is improperly closed leaves a stale GF_Command pointer that gf_sg_sfcommand_del() frees while it is still live. The issue is assessed as medium severity and denial-of-service oriented: exploitation is local (AV:L) with no privileges required (PR:N), but a user must be persuaded to open or process a crafted .xmt scene file (UI:P/UI:R), so only workflows that feed untrusted XMT-A content to MP4Box are exposed. A public PoC reference exists but is not verified as working exploit code, no confirmed active exploitation (CISA KEV) is reported, and the vuln.today priority is 'this_month'.

RemediationAI

Upstream fixes are available as commits in the gpac/gpac repository - 3e535640b48ed3218e74929cbf3e42250fce3ddf, 5e620eff3bea16972dd948b2a153e416ffb1c81d and 6fc2832ba83467bbf89349395e89de1353ab5b77 - and building MP4Box from a tree containing all three resolves the double free; a tagged release version incorporating them is not independently confirmed in the supplied data, so verify the fix is present before relying on a package upgrade. Because exploitation requires a user to process a crafted XMT-A file, the practical compensating controls are to avoid feeding untrusted .xmt scene files to MP4Box, run MP4Box in a sandboxed or low-privilege context when handling untrusted media, and restrict automated pipelines that convert or inspect externally supplied XMT content; these measures reduce exposure but do not fix the underlying memory-safety bug, and disabling XMT-A scene import entirely would break legitimate MPEG-4 scene authoring workflows. Advisory and issue details are at https://github.com/gpac/gpac/issues/3766, /3767, /3773, /3774, /3788 and /3837.

Affected VersionsENISA

GPAC 0 ≤26.07.0

Affected Packages

euvd gpac no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

XMT-A is GPAC's XML-based textual encoding of MPEG-4 scene descriptions, parsed by the SAX-driven loader in src/scene_manager/loader_xmt.c. Conditional scene nodes carry an SFCommandBuffer field that holds a GF_Command object; when the corresponding buffer element is malformed or improperly nested, the parser's command_buffer pointer is not unwound and a stale GF_Command reference survives, so gf_sg_sfcommand_del() in vrml_tools.c frees a command that is still reachable - a classic double free (CWE-415) leading to heap corruption. The upstream fixes address the root cause structurally: they track command_buffer nesting depth so buffer state is restored rather than dropped, rework xmt_discard_node/xmt_discard_subtree to unregister nodes safely and clean up stale references, bound xmt_remove_od_links_recursive to a depth of 512, and add a 256-level proto instantiation depth guard in vrml_proto.c. No CPE data was supplied, so the affected component is identified by source path and version range rather than by a formal CPE string.

Know when Gpac gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.6 MEDIUM

File is processed locally by the victim so AV:L and UI:R; no privileges needed (PR:N); the double free corrupts the heap and crashes the process (A:H) with only limited, unproven C/I impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

GPAC MP4Box through 26.07.0 contains a double free vulnerability in the XMT-A scene loader that leaves a stale GF_Command pointer in a Conditional node's SFCommandBuffer when the buffer element is not properly closed. Attackers can persuade users to process a crafted XMT file with malformed nesting, causing gf_sg_sfcommand_del() to free the live command, corrupting heap memory and crashing the process.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source multimedia packaging tool, common in media/streaming workflows
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Gpac

View all
CVE-2023-46932 CRITICAL POC
9.8 Dec 09

Heap Buffer Overflow vulnerability in GPAC version 2.3-DEV-rev617-g671976fcc-master, allows attackers to execute arbitra

CVE-2023-2840 CRITICAL POC
9.8 May 22

NULL Pointer Dereference in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.8), this vulnera

CVE-2022-36190 CRITICAL POC
9.8 Aug 17

GPAC mp4box 2.1-DEV-revUNKNOWN-master has a use-after-free vulnerability in function gf_isom_dovi_config_get. Rated crit

CVE-2022-1795 CRITICAL POC
9.8 May 18

Use After Free in GitHub repository gpac/gpac prior to v2.1.0-DEV. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2021-28300 CRITICAL POC
9.8 Apr 14

NULL Pointer Dereference in the "isomedia/track.c" module's "MergeTrack()" function of GPAC v0.5.2 allows attackers to e

CVE-2020-11558 CRITICAL POC
9.8 Apr 05

An issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. Rated critical severity (CVSS 9.8), this

CVE-2018-13005 CRITICAL POC
9.8 Jun 29

An issue was discovered in MP4Box in GPAC 0.7.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2023-2838 CRITICAL POC
9.1 May 22

Out-of-bounds Read in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.1), this vulnerability

CVE-2023-0841 HIGH POC
8.8 Feb 15

A vulnerability, which was classified as critical, has been found in GPAC 2.3-DEV-rev40-g3602a5ded.c. Rated high severit

CVE-2022-4202 HIGH POC
8.8 Nov 29

A vulnerability, which was classified as problematic, was found in GPAC 2.1-DEV-rev490-g68064e101-master. Rated high sev

CVE-2021-21850 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

CVE-2021-21849 HIGH POC
8.8 Aug 25

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy