Skip to main content

GPAC MP4Box EUVDEUVD-2025-210141

| CVE-2025-55641 MEDIUM
NULL Pointer Dereference (CWE-476)
5.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Recon
    Craft MP4 with invalid SAI sai_samples count
  2. Delivery
    Deliver crafted file to MP4Box operator or ingestion pipeline
  3. Exploit
    Operator invokes MP4Box -add with -split-size flag
  4. Install
    gf_import_isomedia_track() initiates SAI merge
  5. C2
    SAI merge fails, pointer left unvalidated
  6. Execute
    NULL dereference read at isom_write.c:8164
  7. Impact
    MP4Box process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

The victim must explicitly process a crafted MP4 file using MP4Box via an operation that triggers track import through gf_import_isomedia_track() - specifically commands combining -add with -split-size or equivalent import/remux operations. The crafted MP4 must contain Sample Auxiliary Information (SAI) metadata with a corrupted or invalid sai_samples count sufficient to cause the SAI merge step to fail. No authentication or elevated system privileges are required beyond the ability to supply a file as MP4Box input (PR:N). User interaction is required (UI:R): a user or automated process must actively invoke MP4Box against the malicious file; the vulnerability cannot be triggered passively. Exploitation is bounded to a process crash (denial of service); no memory corruption leading to code execution has been demonstrated. The vulnerable path is specific to split-size import operations, not all MP4Box functionality.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L, score 4.3 MEDIUM) reflects the bounded nature of this vulnerability: impact is limited to an application crash with no confidentiality or integrity consequence. The UI:R component is a meaningful limiting factor - a user or automated process must explicitly supply the crafted file to MP4Box, and the vulnerable code path is triggered specifically during split-size import operations rather than all MP4Box workflows. For organizations operating automated media ingestion pipelines that invoke MP4Box against untrusted MP4 files, the UI:R condition is effectively satisfied programmatically, elevating practical risk above the MEDIUM score. Conversely, for interactive desktop users, risk is low absent social engineering. A PoC MP4 file is publicly available on GitHub, making reproduction trivial and lowering the skill threshold for exploitation; this distinguishes it from vulnerabilities with only theoretical exploit paths. EPSS data is absent from the provided input, so exploitation probability cannot be quantified numerically. The vulnerability is not in CISA KEV, confirming no widespread active exploitation at time of analysis. Overall, this is a real but narrow DoS risk, most relevant to media processing services consuming untrusted content.

Exploit ScenarioDerived

An attacker crafts or obtains a malformed MP4 file containing an invalid sai_samples count in its SAI metadata box - a working PoC is publicly available at the reporter's GitHub repository - and delivers it to an operator or automated pipeline running MP4Box. When MP4Box processes the file with a command such as 'MP4Box -add crafted.mp4 -new output.mp4 -split-size 500', the NULL pointer dereference in gf_isom_copy_sample_info() at isom_write.c:8164 causes an immediate process crash, disrupting the media processing service.

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

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

Alert me

AnalysisAIv1 – Jun 13, 2026

NULL pointer dereference in GPAC's MP4Box crashes the application when importing a crafted MP4 file containing corrupted Sample Auxiliary Information (SAI) metadata with an invalid sai_samples count. The function gf_isom_copy_sample_info() in isomedia/isom_write.c:8164 fails to validate pointers after SAI merge handling fails, resulting in a SEGV read at address 0x0 and an application crash. A publicly available proof-of-concept MP4 file exists on GitHub; however, this CVE is not in CISA KEV, and exploitation is constrained to a denial-of-service (process crash) with no code execution or data exposure demonstrated.

RemediationAI

The upstream fix is available as commit f87b30611380e4dcd03cd4dd9ac553c0ec336826 in the gpac/gpac repository; however, a tagged GPAC release incorporating this patch has not been independently confirmed from the available data, so this should be treated as an upstream fix available via source rather than a vendor-released versioned patch. Users building GPAC from source should update to a revision at or after this commit. For operators who cannot immediately rebuild, the primary compensating control is to restrict MP4Box input to files sourced exclusively from trusted, pre-validated origins - do not pass user-supplied or third-party MP4 files directly to MP4Box import operations. In automated pipelines, adding a pre-screening step that rejects MP4 files with malformed SAI boxes (e.g., using a separate validator or sandboxed parsing pass) can prevent the vulnerable code path from being reached; the trade-off is added pipeline latency and the need to maintain a separate parsing component. Sandboxing the MP4Box process (e.g., with seccomp or a container with limited restart policy) limits the blast radius of a crash to the isolated process rather than the broader service. The oss-security advisory is at https://seclists.org/oss-sec/2026/q2/909 and the upstream issue at https://github.com/gpac/gpac/issues/3195.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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 primary command-line tool for ISO Base Media File Format (ISOBMFF) manipulation including track import, remuxing, and splitting. The vulnerable function gf_isom_copy_sample_info() resides in isomedia/isom_write.c and is responsible for copying Sample Auxiliary Information (SAI) - metadata structures defined in the ISOBMFF specification that carry per-sample auxiliary data such as encryption info. CWE-476 (NULL Pointer Dereference) describes the root cause: when the SAI merge step encounters an invalid sai_samples count and fails, the function does not guard subsequent pointer dereferences, leading to a read from address 0x0. The crash call stack traverses gf_import_isomedia() → gf_import_isomedia_track() → gf_isom_copy_sample_info(), meaning the flaw is reached specifically during track import operations. The affected codebase is gpac/gpac on master prior to commit f87b30611380e4dcd03cd4dd9ac553c0ec336826. No CPE string was provided in the available input data; exact release version boundaries are not independently confirmed.

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 (CNA) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 4.3 MEDIUM

File delivered over network (AV:N), user must invoke MP4Box on it (UI:R), crash is application-only with no C/I impact (A:L, S:U, C:N, I:N).

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Severity Changed
Jun 15, 2026 - 21:22 NVD
HIGH MEDIUM
CVSS changed
Jun 15, 2026 - 21:22 NVD
5.5 (HIGH) 5.5 (MEDIUM)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

GPAC's MP4Box is vulnerable to denial-of-service attacks triggered by maliciously crafted MP4 files, and publicly available exploit code exists. Organizations using MP4Box for video processing or transcoding operations face immediate service disruption risk. While no code execution or data compromise is possible, the operational impact to critical workflows requires prompt mitigation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement strict input validation and MP4 file format verification before processing; (2) Restrict processing to files from pre-approved, internal sources only; (3) Deploy MP4Box in isolated containers or separate systems to limit crash scope; (4) Establish process monitoring and automatic restart mechanisms for critical MP4Box workflows; (5) Evaluate alternative video processing libraries with more frequent security updates.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Social Media
1
Sightings
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 No
EPSS 0.2%
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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