Skip to main content

GPAC EUVDEUVD-2026-125052

| CVE-2026-128240 MEDIUM
Use After Free (CWE-416)
2026-11-13 VulnCheck GHSA-ffqp-3677-6hc6
6.8
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/BT scene declaring protos
  2. Delivery
    Victim processes file via MP4Box -chap
  3. Exploit
    Teardown frees still-referenced prototype
  4. Execution
    Use-after-free in gf_sg_proto_del
  5. Impact
    Process crash (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an attacker-supplied crafted XMT/BT scene file that declares prototypes via scene commands, and requires a victim/operator to process that file locally with MP4Box using the -chap (chapter) processing path - this is the passive user interaction captured by UI:P and the local vector AV:L. Limiting factors: the malicious file must reach the host and be fed to the MP4Box -chap workflow (no network-remote trigger), and the impact is confined to crashing the MP4Box process (availability only; VC:N/VI:N) with no confidentiality or integrity effect and no evidence of code execution in the available sources. The trigger pathway (freeing of unregistered prototypes still owned by scene commands during gf_sg_reset) is confirmed by the patch diff.

Impact

This is a genuine but low-urgency memory-safety bug whose real-world risk is bounded by its impact profile and attack vector. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, VC:N/VI:N/VA:H) and the CWE-416 use-after-free describe an availability-only crash: there is no confidentiality or integrity impact, and the vulnerable-system impact is limited to VA:H (process crash / denial of service). Exploitation is not remote-over-network in the usual sense - AV:L plus UI:P means a victim must locally process an attacker-supplied crafted XMT/BT scene file with MP4Box -chap, so this is a classic 'malicious file fed to a parsing tool' scenario rather than a server-side remote exploit. No CISA KEV listing and no EPSS score are provided, so there is no evidence of active or widespread exploitation; a public PoC reference (an .xmt trigger file) exists but is not verified as working exploit code, so POC availability must not be conflated with exploitation. The source diff confirms the mechanism precisely: gf_sg_reset() freed unregistered prototypes that are actually owned by the scene commands that declared them, leaving a dangling reference that gf_sg_proto_del() later dereferences. Note PR:N in the vector labels this 'unauthenticated,' but that is a weak signal here because the real precondition is getting a victim to process a malicious file, not network reachability. Overall: a real bug worth patching on a normal cycle (vendor priority 'this_month'), not a high-CVSS issue masquerading as critical nor an emergency.

Exploit ScenarioDerived

An attacker crafts a malicious XMT/BT scene file that declares prototypes via scene commands and delivers it to a victim who processes it with MP4Box -chap (e.g., in an automated media/chapter-extraction pipeline). During scene teardown, gf_sg_reset() frees unregistered prototypes that are still referenced by the scene commands, and gf_sg_proto_del() then accesses the freed memory, crashing the process (denial of service). A public PoC reference file exists but is not verified as working exploit code, and the CVSS vector indicates local file processing with required user/operator interaction (AV:L/UI:P).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Use-after-free in GPAC through 26.07.0 causes the MP4Box process to crash when a crafted XMT/BT scene that declares prototypes is processed through the -chap chapter path. The bug is in scene teardown: gf_sg_reset() frees unregistered prototypes that are still owned by scene commands, and gf_sg_proto_del() later accesses the freed object, yielding availability-only impact (C:N/I:N/A:H) with no confidentiality or integrity effect. A public PoC reference exists at https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/223/223_gf_sg_proto_del_scenegraph_vrml_proto_c.xmt but it is not verified as working exploit code; exploitation requires local processing of a malicious file, and no confirmed active exploitation is reported.

RemediationAI

Upstream fix available (commit a2e5c62c213b5329a4572fe8e7c333e1ca26d028); released patched version not independently confirmed, so update GPAC to a build containing that commit and confirm the corresponding vendor release in https://www.vulncheck.com/advisories/gpac-through-26.07.0-use-after-free-in-gf-sg-proto-del-during-scene-teardown or the project issue https://github.com/gpac/gpac/issues/4031. The references do not document a vendor workaround; until the fixed build is deployed, avoid feeding untrusted XMT/BT scene files to MP4Box -chap, which removes the vulnerable parsing path at the cost of blocking chapter processing for those inputs. The change in base_scenegraph.c nulls parent_graph and removes the non-owning list entry, and vrml_proto.c now guards parent_graph before dereferencing it.

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

GPAC's scene graph handles VRML/X3D-style prototypes declared inside XMT/BT scene commands; MP4Box -chap is the chapter-processing entry point that can parse such scenes. The flaw is CWE-416 (use-after-free) caused by an ownership mismatch during gf_sg_reset(): unregistered prototypes are referenced by scene commands (new_proto_list) but gf_sg_reset() calls gf_sg_proto_del() on them, while gf_sg_command_del() later frees them, leaving a dangling pointer that gf_sg_proto_del() dereferences. The fix in commit a2e5c62c213b5329a4572fe8e7c333e1ca26d028 sets p->parent_graph = NULL before dropping the non-owning list reference and adds a parent_graph guard in gf_sg_proto_del(); the CPE cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:* identifies GPAC as the affected product. The supplied evidence confirms the teardown pathway but does not describe code execution; the assessed impact is availability only.

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.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local processing of an attacker-supplied file (AV:L) requires an operator to run MP4Box -chap on it (UI:R); no auth needed (PR:N), and only a process crash results (A:H, C:N/I:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

GPAC through 26.07.0 contains a use-after-free vulnerability in gf_sg_proto_del() in src/scenegraph/vrml_proto.c because gf_sg_reset() frees unregistered prototypes still referenced by scene commands. Attackers can supply a crafted XMT/BT scene declaring prototypes via commands, processed by MP4Box -chap, to trigger freed memory access and crash the process.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular open-source multimedia framework/MP4Box, common in media pipelines but not ubiquitous
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.2%
Patch available Yes
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

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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