Skip to main content

GPAC MP4Box EUVDEUVD-2025-210429

| CVE-2025-15667 LOW
Double Free (CWE-415)
2026-07-06 VulDB GHSA-r4c4-62x2-m3ww
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege local access
  2. Delivery
    Supply crafted MP4 with malformed NALU samples
  3. Exploit
    Invoke MP4Box AVC rewrite path
  4. Execution
    Trigger double-free on nalu_out_bs
  5. Persist
    Heap corruption
  6. Impact
    MP4Box process crash

Vulnerability Assessment

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

Exploitation requires local access to the host (AV:L) and a user account with at least low privileges (PR:L) - remote unauthenticated exploitation is not possible. The attacker must supply a crafted MP4 file with malformed AVC/H.264 NALU sample data and cause MP4Box to process it via the gf_isom_nalu_sample_rewrite code path. No special non-default configuration is required beyond normal MP4Box usage on AVC-containing MP4 files. The primary limiting factors are the mandatory local access requirement and the constraint that the target must be executing MP4Box against attacker-controlled input, which is most plausible in automated media transcoding or ingestion pipelines.

Impact

The CVSS 4.0 score of 4.8 (Medium) accurately reflects constrained real-world risk: the attack vector is local (AV:L), requires low privileges (PR:L), and produces only low availability impact with no confidentiality or integrity effects. EPSS data was not provided, so exploitation probability cannot be quantified numerically. The vulnerability is not in CISA KEV, indicating no confirmed widespread active exploitation. A public POC exists, which elevates urgency over a purely theoretical flaw, but the local-only access requirement substantially narrows the attack surface. The 'Information Disclosure' tag from VulDB is inconsistent with the CVSS vector metrics VC:N and SC:N - this discrepancy should be verified with the vendor before assuming any data leakage scenario. For organizations running GPAC in automated media ingestion pipelines processing untrusted files, the risk is elevated; for interactive single-user installations, the risk is low.

Exploit ScenarioDerived

A local attacker with a low-privilege account places a specially crafted MP4 file containing malformed AVC NALU sample data on the host and invokes MP4Box to process it. During NALU sample rewriting in gf_isom_nalu_sample_rewrite, the nalu_out_bs buffer is freed twice, corrupting heap metadata and causing MP4Box to crash. A public POC demonstrating this trigger is available at https://github.com/TimChan2001/pocs/raw/refs/heads/main/poc-gpac-1.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 06, 2026

Double-free memory corruption in GPAC MP4Box up to version 2.5-DEV allows a local, low-privileged attacker to trigger heap corruption via a crafted MP4 file processed by the gf_isom_nalu_sample_rewrite function, resulting in low availability impact (crash). No confidentiality or integrity impact is indicated by the CVSS 4.0 vector despite the 'Information Disclosure' tag in VulDB, which appears inconsistent with the scored metrics. A public POC exists at GitHub, but no active exploitation has been confirmed and this CVE is not listed in CISA KEV.

RemediationAI

Apply upstream patch commit f29f955f2a3b5e8e507caad3e52319f961bf37bf available at https://github.com/gpac/gpac/commit/f29f955f2a3b5e8e507caad3e52319f961bf37bf. This is a source-level commit, not a tagged release - organizations should build GPAC from the patched source tree or wait for an official release that incorporates this fix; a specifically versioned patched release has not been independently confirmed at time of analysis. As a compensating control, restrict execution of MP4Box to trusted users and avoid processing untrusted or externally sourced MP4 files with unpatched builds. If GPAC is used in automated media processing pipelines, sandbox the MP4Box process using seccomp profiles, Linux namespaces, or container isolation to contain the impact of heap corruption to the processing process only. Disabling NALU rewriting operations on untrusted input is not directly configurable via a standalone flag, so process isolation is the most actionable workaround.

Affected VersionsENISA

GPAC 2.5-DEV

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 is an open-source multimedia framework; MP4Box is its command-line ISOBMFF/MP4 muxer and demuxer tool. The affected code path is gf_isom_nalu_sample_rewrite in src/isomedia/avc_ext.c, which handles AVC/H.264 NALU (Network Abstraction Layer Unit) sample rewriting within MP4 container tracks. CWE-415 (Double Free) occurs when the nalu_out_bs bitstream buffer object is freed more than once during NALU sample processing, causing heap metadata corruption. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N) confirms this is triggered locally with no special attack preconditions, and the vulnerable-system availability impact is low (VA:L), consistent with a crash or abort rather than arbitrary code execution. CPE cpe:2.3:a:n/a:gpac:*:*:*:*:*:*:*:* covers all GPAC versions up to 2.5-DEV.

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 (VulDB) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 3.3 LOW

Local-only file processing context requires low privileges; double-free causes crash only, with no confidentiality or integrity impact supported by evidence.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

2
Severity Changed
Jul 06, 2026 - 12:22 NVD
MEDIUM LOW
CVSS changed
Jul 06, 2026 - 12:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

DescriptionCVE.org

A vulnerability was determined in GPAC up to 2.5-DEV. This vulnerability affects the function gf_isom_nalu_sample_rewrite of the file src/isomedia/avc_ext.c of the component MP4Box. This manipulation of the argument nalu_out_bs causes double free. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. Patch name: f29f955f2a3b5e8e507caad3e52319f961bf37bf. To fix this issue, it is recommended to deploy a patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche open-source multimedia tool, limited enterprise production footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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