Skip to main content

GPAC MP4Box CVE-2025-55664

| EUVDEUVD-2025-210002 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-06-01 cve@mitre.org GHSA-gc4c-qf5m-fp82
5.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Craft MP4 with undersized M2TS packets
  2. Delivery
    Deliver file to target user or pipeline
  3. Exploit
    User opens file with MP4Box v2.4
  4. Execution
    m2tsdmx_send_packet called without length check
  5. Persist
    Heap buffer overflow triggered
  6. Impact
    Application crash (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

The attacker must deliver a crafted MP4 file containing MPEG-2 TS stream data with packet length values of two bytes or fewer - the precise condition patched by if (len<=2) return;. The victim must actively open this file using GPAC MP4Box v2.4 (UI:R per CVSS vector), meaning social engineering or access to an automated file-processing pipeline using MP4Box is required. The attack vector is local (AV:L), meaning the file must be processed on the victim's own system or in a pipeline with local file access. No authentication is required to trigger the bug once a file is opened (PR:N). Exploitation is limited to a crash/DoS - no privilege escalation, memory disclosure, or code execution is achievable via this path (C:N/I:N). Environments that do not use GPAC MP4Box for M2TS-embedded MP4 processing are not exposed.

Impact

The CVSS 3.1 score of 5.5 (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) reflects a genuinely limited threat profile: the attack vector is local, user interaction is required, and the sole impact is availability. An attacker cannot achieve code execution, privilege escalation, or data exfiltration through this vulnerability - the scope is unchanged and confidentiality/integrity are unaffected. No EPSS data was included in the source intelligence, so exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog, and no active exploitation campaigns have been identified. Real-world risk is low for most organizations: exploitation requires convincing a user to open a crafted file with MP4Box specifically, and the outcome is only an application crash. This is a priority for environments that process untrusted MP4 files in automated pipelines, where repeated crashes could constitute sustained DoS. EUVD affected version data lists 'n/a', which is uninformative and should not be interpreted as version-agnostic scope.

Exploit ScenarioDerived

An attacker crafts a malicious MP4 file embedding MPEG-2 TS packet data with a payload length of two bytes or fewer and delivers it to a target via email, download link, or shared storage. When the victim opens the file using GPAC MP4Box v2.4, the demuxer calls m2tsdmx_send_packet with the undersized packet, triggering a heap buffer overflow that crashes the process. No public proof-of-concept exploit code has been confirmed, though a GitHub issue (gpac/gpac#3310) and a social media post on infosec.exchange document the crash behavior.

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

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

Alert me

AnalysisAIv1 – Jun 01, 2026

Heap buffer overflow in GPAC MP4Box v2.4's MPEG-2 TS demuxer crashes the application when processing a specially crafted MP4 file, resulting in a Denial of Service. The vulnerable function m2tsdmx_send_packet in filters/dmx_m2ts.c lacked a minimum packet-length guard before performing heap operations on M2TS packet data. No active exploitation has been identified (not in CISA KEV), and impact is limited to availability - no code execution or data exposure is achievable via this path.

RemediationAI

The upstream fix is available as GitHub commit 9bd6a72c9efc0513dfd33b87498afc7658dabd26, which adds the bounds check if (len<=2) return; to m2tsdmx_send_packet in src/filters/dmx_m2ts.c. This is an upstream fix available via PR or commit; a released patched version number has not been independently confirmed from the available source data - users should verify whether a tagged GPAC release incorporating this commit has been published at https://github.com/gpac/gpac. As a compensating control where patching is not immediately possible, restrict MP4Box usage to files from trusted sources only, and avoid automated ingestion pipelines that process externally supplied MP4 files containing MPEG-2 TS data. If GPAC is deployed in a containerized or sandboxed environment, an application crash from this vulnerability will not cascade to the host - this containment reduces the effective DoS impact to the isolated process.

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

CWE-122 (Heap-based Buffer Overflow) describes the root cause: the m2tsdmx_send_packet function in GPAC's MPEG-2 Transport Stream demuxer (src/filters/dmx_m2ts.c) processed incoming PES packet data without first validating that the packet length exceeded a safe minimum threshold. The upstream commit 9bd6a72c9efc0513dfd33b87498afc7658dabd26 reveals the fix is a single bounds check - if (len<=2) return; - confirming that packets with two or fewer bytes of payload were passed directly into heap operations without validation. GPAC MP4Box is an open-source multimedia framework widely used for MP4 file manipulation, packaging, and MPEG-2 TS demuxing. No CPE strings were provided in the source data; the affected product is GPAC v2.4 as stated in the CVE description.

Know when the next one hits your stack

  • 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 (mitre) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

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

Lifecycle Timeline

2
CVSS changed
Jun 01, 2026 - 17:22 NVD
5.5 (MEDIUM)
CVE Published
Jun 01, 2026 - 15:16 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

A heap buffer overflow in the m2tsdmx_send_packet function (filters/dmx_m2ts.c) of GPAC MP4Box v2.4 allows attackers to cause a Denial of Service (DoS) via supplying a crafted MP4 file.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
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.0%
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
None
System Exposure· derived
Small
Automatable
Yes
Human Impact· derived
Medium
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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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

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