Skip to main content
Vulnerability Database/CVE-2025-55667

CVE-2025-55667: GPAC MP4Box Denial of Service Vulnerability

CVE-2025-55667 is a denial of service vulnerability in GPAC MP4Box v2.5-DEV-rev1672 caused by a segmentation fault in the dump_isom_saps function. This article covers technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-55667 Overview

CVE-2025-55667 is a segmentation violation in the dump_isom_saps function located in /mp4box/filedump.c within GPAC MP4Box v2.5-DEV-rev1672-gc9a31d0e1-master. Attackers can trigger a Denial of Service (DoS) by supplying a crafted MP4 file to the vulnerable binary. The flaw is categorized under [CWE-119] (Improper Restriction of Operations within the Bounds of a Memory Buffer). Exploitation requires local access and user interaction, as a victim must process the malicious media file with MP4Box. The weakness crashes the process but does not permit code execution or data exfiltration.

Critical Impact

A crafted MP4 file causes MP4Box to crash through an invalid memory access in dump_isom_saps, resulting in Denial of Service during media analysis workflows.

Affected Products

  • GPAC MP4Box v2.5-DEV-rev1672-gc9a31d0e1-master
  • Downstream packages bundling the affected GPAC build
  • Media processing pipelines invoking MP4Box for SAP dump operations

Discovery Timeline

  • 2026-10-19 - CVE-2025-55667 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2025-55667

Vulnerability Analysis

The defect resides in the dump_isom_saps routine in applications/mp4box/filedump.c. The function iterates over samples in an ISO Base Media File Format (ISOBMFF) track and calls gf_isom_get_sample_info to retrieve each sample. The return value is dereferenced without a null check, so a malformed MP4 that causes gf_isom_get_sample_info to return NULL triggers a segmentation violation. The crash occurs during parsing of Stream Access Point (SAP) metadata, interrupting any batch workflow that depends on MP4Box.

Root Cause

The root cause is missing validation of a pointer returned by gf_isom_get_sample_info. GPAC did not verify that samp was non-null before accessing its fields, breaking the invariant that media parsers must assume untrusted input can produce missing or inconsistent samples. The fix adds an explicit null check and continues the loop when the sample cannot be retrieved.

Attack Vector

Exploitation is local and requires user interaction. An attacker crafts an MP4 file with malformed sample tables, then convinces a user or automation job to run MP4Box against the file. The resulting segmentation fault terminates the process and any dependent pipeline stages. The CWE-119 classification reflects an out-of-bounds memory access caused by dereferencing an invalid pointer. The current EPSS probability remains low, consistent with limited interest in weaponizing a local DoS.

c
// Security patch in applications/mp4box/filedump.c - fix some memory issues
		u64 doffset;

		GF_ISOSample *samp = gf_isom_get_sample_info(file, track, i+1, &di, &doffset);
+		if (!samp)
+			continue;

#ifndef GPAC_DISABLE_ISOM_FRAGMENTS
		traf_start = gf_isom_sample_is_fragment_start(file, track, i+1, NULL);

Source: GPAC commit e6d01820

Detection Methods for CVE-2025-55667

Indicators of Compromise

  • Unexpected SIGSEGV termination of the MP4Box process during SAP dump or sample inspection operations.
  • Core dumps referencing dump_isom_saps or gf_isom_get_sample_info in the stack trace.
  • Repeated processing failures tied to the same untrusted MP4 input across a media pipeline.

Detection Strategies

  • Monitor process exit codes from MP4Box invocations and alert on non-zero terminations with signal 11.
  • Enable system crash reporting (systemd-coredump, abrt, or equivalent) to capture faulting frames.
  • Scan ingested MP4 files with a sandboxed MP4Box build patched for CVE-2025-55667 to flag malformed inputs.

Monitoring Recommendations

  • Centralize crash telemetry from media processing hosts into your SIEM or data lake for correlation with file ingestion events.
  • Track the SHA-256 hashes of MP4 files that trigger MP4Box crashes to build a local blocklist.
  • Audit automated workflows that execute MP4Box on externally supplied media and record the submitting user or service.

How to Mitigate CVE-2025-55667

Immediate Actions Required

  • Upgrade GPAC to a build containing commit e6d01820d7bf3967d931fedb379ee5f209bc133b or later.
  • Restrict MP4Box execution to vetted media files until the patched build is deployed.
  • Run media parsing jobs inside containers or sandboxes with resource limits and automatic restart policies.

Patch Information

The upstream fix is delivered in GPAC commit e6d01820d7bf3967d931fedb379ee5f209bc133b, which adds a null check after gf_isom_get_sample_info in dump_isom_saps. Rebuild GPAC from source or install a downstream package that incorporates this commit. See the GPAC commit update, GitHub issue 3321, and the oss-security discussion for additional context.

Workarounds

  • Disable the SAP dump code path in automation when operating on untrusted MP4 files.
  • Pre-validate MP4 inputs with an independent parser before invoking MP4Box.
  • Isolate MP4Box execution with low-privilege service accounts to contain crash impact.
bash
# Rebuild GPAC with the upstream fix applied
git clone https://github.com/gpac/gpac.git
cd gpac
git checkout e6d01820d7bf3967d931fedb379ee5f209bc133b
./configure --static-mp4box
make -j$(nproc)
sudo make install
MP4Box -version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.