Skip to main content

GPAC MP4Box CVE-2025-55662

HIGH
2026-06-13
View

Attack ChainAIDerived

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

  1. Access
    Craft MP4 with nb_frames=0 in Opus header
  2. Delivery
    Deliver file to target MP4Box pipeline
  3. Exploit
    User or process invokes MP4Box with -dxml flag
  4. Execution
    gf_opus_parse_packet_header reads zero nb_frames
  5. Persist
    Divide-by-zero triggers SIGFPE at av_parsers.c:11479
  6. Impact
    MP4Box process crashes (DoS)

Vulnerability Assessment

Exploitation Conditions

The vulnerability is triggered when MP4Box processes a crafted MP4 file containing an Opus audio track with a malformed packet header where nb_frames is zero or otherwise invalid. The crash specifically occurs along the Opus dump/inspection code path, reachable via the -dxml flag (and similar inspection modes) as confirmed by the AddressSanitizer stack trace. No authentication or special system privileges are required; however, active user interaction is required - a user or an automated process must explicitly invoke MP4Box on the malicious file (e.g., MP4Box -add crafted.mp4 -dxml -out /dev/null). Exploitation is strictly limited to a process crash (availability impact only); no confidentiality or integrity impact has been demonstrated. Systems that do not process Opus-containing MP4 files through GPAC MP4Box's dump/inspection path are not exposed.

Impact

The reporter-supplied CVSS 3.1 score of 4.3 MEDIUM (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L) is well-calibrated for this vulnerability class. Real-world risk is moderate: the public PoC file lowers the exploitation bar significantly for any operator who processes untrusted MP4 files, but impact is strictly bounded to an application crash - no confidentiality or integrity impact is present, and no code execution path has been identified. The UI:R metric correctly captures that a user or automated pipeline must invoke MP4Box on the malicious file; passive network exposure alone does not trigger the vulnerability. No EPSS score was provided in the input, so exploitation probability cannot be quantified precisely, but the low-complexity, zero-privilege delivery model combined with an available PoC suggests meaningful risk for file-processing pipelines. This vulnerability is not in CISA KEV, consistent with its limited impact severity. The highest practical risk scenario is an automated MP4 ingestion pipeline running MP4Box on untrusted user-supplied content without process isolation, where repeated crashes could constitute a sustained DoS.

Exploit ScenarioDerived

An attacker crafts a malicious MP4 file containing an Opus audio track where the packet header's nb_frames field is set to zero. The file is uploaded to a media platform or sent to a target that automatically processes MP4 files using GPAC MP4Box - for example, a transcoding pipeline that runs MP4Box with -dxml to inspect metadata. When MP4Box processes the file, gf_opus_parse_packet_header() triggers a divide-by-zero, crashing the MP4Box process and disrupting the pipeline. A public PoC file demonstrating this exact crash is available at https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/2/2_poc.mp4.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet

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

Alert me

AnalysisAIv1 – Jun 13, 2026

Divide-by-zero crash in GPAC's MP4Box tool allows denial of service when processing a crafted MP4 file containing a malformed Opus audio track header. The function gf_opus_parse_packet_header() in media_tools/av_parsers.c:11479 fails to validate that nb_frames is non-zero before performing arithmetic (max = header->nb_frames - 1), triggering a SIGFPE along the Opus dump path. A public proof-of-concept file is available, and no authentication or special privileges are required - only the ability to supply a crafted file to the tool. No confirmed active exploitation (not in CISA KEV); impact is limited to process crash with no code execution potential identified.

RemediationAI

Build GPAC from a source revision at or after commit ff8249a407685d00ceb5f4d2a798b9cad195140e from the upstream repository at https://github.com/gpac/gpac. A released patched version with an official tag is not independently confirmed at time of analysis - consult the GPAC releases page and the GitHub issue at https://github.com/gpac/gpac/issues/3159 for confirmation of a tagged release incorporating this fix. As a compensating control, avoid invoking MP4Box with -dxml or other Opus-dump-path flags on untrusted or user-supplied MP4 files containing Opus audio tracks; this eliminates the specific code path that reaches the vulnerable function. If automated pipelines must process untrusted MP4 files with GPAC, isolate MP4Box invocations within a sandboxed environment (e.g., seccomp profile, unprivileged container) to contain crash impact and prevent crash-loop amplification. Pre-filtering input files for Opus tracks is not a reliable mitigation since it requires parsing the same MP4 container that may contain malformed data.

Affected ProductsAI

GPAC MP4Box versions built from the master branch prior to commit ff8249a407685d00ceb5f4d2a798b9cad195140e are confirmed affected. The crash was reproduced on the master branch at the time of discovery as noted in the oss-security disclosure. No specific released version range (e.g., 2.x.x through 2.y.z) is independently confirmed from the available data - affected version bounds are inferred from the upstream commit reference alone. No CPE strings were included in the provided input. The GitHub issue tracker at https://github.com/gpac/gpac/issues/3159 and the oss-security advisory at https://seclists.org/oss-sec/2026/q2/920 are the primary public references.

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 ISO Base Media File Format (ISOBMFF/MP4) command-line processing tool. The vulnerable function gf_opus_parse_packet_header() parses Opus audio codec packet headers embedded within MP4 container tracks. CWE-369 (Divide by Zero) manifests because the function computes arithmetic on the nb_frames field - specifically max = header->nb_frames - 1 - without first asserting nb_frames > 0. When the field is zero or malformed in a crafted file, this produces a Floating Point Exception (SIGFPE) caught by AddressSanitizer at av_parsers.c:11479. The full call chain is: dump_isom_opus (applications/mp4box/filedump.c:1501) → gf_inspect_dump_opus_internal (filters/inspect.c:1830) → gf_opus_parse_packet_header (media_tools/av_parsers.c:11479), meaning the crash is reached via the Opus inspection/dump path invoked by flags such as -dxml. No CPE strings were provided in the input; affected versions are those prior to commit ff8249a407685d00ceb5f4d2a798b9cad195140e on the GPAC master branch.

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

vuln.today AI 4.3 MEDIUM

File delivered remotely triggers crash only when user invokes MP4Box on it; PR:N and UI:R appropriate; A:L for process crash; no C or I impact.

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:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Description PRE-NVD

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

Executive ViewAI

Why It Matters

GPAC's MP4Box media processing tool contains a critical vulnerability (CVE-2025-55662) causing denial-of-service crashes when processing crafted MP4 files with malformed Opus audio headers. With publicly available exploit code existing and no patch currently issued, organizations using MP4Box in production media workflows face immediate service disruption risk.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict MP4Box input to pre-validated or cryptographically verified media files; (2) Execute MP4Box in sandboxed environment with network isolation and minimized system privileges; (3) Implement upstream input validation to detect and reject malformed MP4 files before processing; (4) Monitor process crash logs and error rates for exploitation attempts; (5) Prepare alternative media processing workflows using maintained alternatives; (6) Disable MP4Box if not essential to core business operations.

Threat Intelligence Overview

Data Quality
1 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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.

Attack Technique

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