Skip to main content

GPAC MP4Box CVE-2025-55647

| EUVD-2025-210146 MEDIUM
Integer Overflow or Wraparound (CWE-190)
5.5
CVSS 3.1 · Vendor
Share

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

Network-delivered file triggers crash only with active user interaction; no confidentiality or integrity impact, process-level availability loss only.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Severity Changed
Jun 15, 2026 - 21:22 NVD
CRITICAL MEDIUM
CVSS changed
Jun 15, 2026 - 21:22 NVD
5.5 (CRITICAL) 5.5 (MEDIUM)
Analysis Generated
Jun 13, 2026 - 22:23 vuln.today

Description PRE-NVD

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

AnalysisAI

Integer overflow in GPAC's MP4Box causes an out-of-memory crash when processing crafted MP4 files with malformed Protection System Specific Header (PSSH) metadata during DASH segmentation. The function mp4_mux_cenc_insert_pssh() in filters/mux_isom.c fails to validate attacker-controlled kid_count and dataSize fields before using them in a buffer size calculation, causing realloc() to request approximately 61 GB (0xe40000100 bytes), which crashes the process. A public proof-of-concept MP4 file is available on GitHub; no active exploitation has been confirmed and no CISA KEV listing exists. The CVSS 3.1 score of 4.3 MEDIUM reflects the user-interaction requirement and limited availability impact.

Technical ContextAI

GPAC is an open-source multimedia framework widely used for MP4/ISOBMFF file manipulation and MPEG-DASH packaging. MP4Box is its command-line tool. The vulnerability resides in the CENC (Common Encryption) PSSH (Protection System Specific Header) muxing logic within filters/mux_isom.c. CWE-190 (Integer Overflow or Wraparound) describes the root cause: attacker-controlled size fields (kid_count, dataSize) embedded in the MP4 file's PSSH box are consumed by mp4_mux_cenc_insert_pssh() without bounds checking. The arithmetic used to calculate the buffer allocation size overflows a fixed-width integer type, producing a very large (but arithmetically valid from the CPU's perspective) value, which is then passed directly to realloc(). The affected code path is exercised specifically during DASH segmentation (mp4_mux_start_fragment()). AddressSanitizer confirms the crash at mux_isom.c:4326 with an allocation request of 0xe40000100 bytes. The fix is present in upstream commit e95f3064d846e4606276fff111e0f97df1576a04.

RemediationAI

The upstream fix is available as commit e95f3064d846e4606276fff111e0f97df1576a04 in the GPAC GitHub repository (https://github.com/gpac/gpac). Users building GPAC from source should pull and rebuild from at least this commit. A patched tagged release version has not been independently confirmed from the available data - monitor the GPAC GitHub releases page for an official versioned release incorporating this fix. As a compensating control where patching is not immediately possible, avoid processing untrusted or externally sourced MP4 files with the -dash segmentation flag. If MP4Box is used in an automated media processing pipeline, run it inside a sandboxed process (e.g., seccomp, Docker with memory limits) so that an OOM crash cannot affect the broader service. Restricting the maximum file size accepted from external sources may reduce exposure but will not prevent exploitation of files within typical size bounds.

Share

CVE-2025-55647 vulnerability details – vuln.today

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