Skip to main content

GPAC MP4Box EUVDEUVD-2025-210147

| CVE-2025-55648 MEDIUM
Heap-based Buffer Overflow (CWE-122)
5.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Craft MP4 with corrupted stsz Opus track data
  2. Delivery
    Deliver malicious MP4 to target user
  3. Exploit
    Victim runs MP4Box -dxml on file
  4. Execution
    Trigger heap OOB read in gf_opus_parse_packet_header
  5. Impact
    Leak adjacent heap memory contents or crash MP4Box process

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 victim must execute 'MP4Box <crafted_file>.mp4 -dxml' - specifically, the -dxml dump flag must be used to trigger the Opus inspection code path via gf_inspect_dump_opus_internal(). The MP4 file must contain an Opus audio track with a corrupted stsz (sample-size box) entry that causes Media_GetSample() to allocate an undersized buffer. No authentication, elevated privileges, or special system configuration is required beyond the ability to supply the crafted file to a user and have that user run the above command. Exploitation is limited by UI:R: passive or drive-by exploitation is not possible; the victim must actively invoke MP4Box on the malicious file. The vulnerability does not trigger on ordinary MP4 playback - only during the XML dump/inspection operation.

Impact

The NVD-assigned CVSS 3.1 score of 5.4 MEDIUM (AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L) is consistent with the described attack surface: network-deliverable file, low complexity, no privileges needed, but requiring user interaction. The UI:R constraint is the primary real-world risk reducer - exploitation depends on a victim actively running 'MP4Box -dxml' on the attacker-supplied file, making passive exploitation impossible. The C:L rating reflects the potential for adjacent heap memory disclosure, which in practice may expose sensitive in-process data depending on heap layout, though reliable data extraction from a single-byte OOB read is non-trivial. A:L captures the reliable crash/DoS path. No EPSS score was provided in the available data, so exploitation probability cannot be quantified from that signal. No CISA KEV listing is present, indicating no confirmed in-the-wild exploitation. However, a public PoC MP4 file exists in a GitHub repository, lowering the barrier for reproduction. The scope is unchanged (S:U), limiting lateral movement. The realistic risk profile is moderate: most impactful as a denial-of-service or targeted information-disclosure against developer/analyst workflows using MP4Box for media inspection.

Exploit ScenarioDerived

An attacker crafts a malicious MP4 file with a corrupted stsz box that declares a sample size inconsistent with the actual Opus packet payload and distributes it to a media analyst or developer (e.g., via a bug report, download link, or shared storage). The victim runs 'MP4Box 12_poc.mp4 -dxml' to inspect the file, triggering gf_opus_parse_packet_header() to read beyond its 32-byte heap allocation. A public PoC file confirming this crash path exists at https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/12/12_poc.mp4.

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

Heap-based buffer overflow in GPAC MP4Box (all versions prior to fix commit 61bbfd2e89553373ba3449b8ec05b5f098d732a5) allows out-of-bounds heap READ when processing a crafted MP4 file containing corrupted stsz (sample-size box) data for an Opus audio track. When a user runs MP4Box with the -dxml flag against a malicious file, gf_opus_parse_packet_header() in av_parsers.c:11297 reads 1 byte beyond a 32-byte heap allocation, 1242 bytes past the base region allocated by Media_GetSample(), potentially leaking adjacent heap memory contents and crashing the process. A public proof-of-concept MP4 file is available; no active exploitation has been recorded in CISA KEV at time of analysis.

RemediationAI

Apply upstream fix commit 61bbfd2e89553373ba3449b8ec05b5f098d732a5 from the GPAC GitHub repository (https://github.com/gpac/gpac). No vendor-tagged release version has been independently confirmed as containing this fix; users building from source should ensure their checkout is at or past this commit. As a compensating control, restrict use of 'MP4Box -dxml' exclusively to trusted, internally sourced MP4 files - untrusted or user-supplied media files should not be processed with this flag until the patch is applied. Organizations using GPAC in automated media processing pipelines should add file-source allowlisting to prevent arbitrary MP4 files from reaching the dump/inspect code path. Note that disabling Opus track processing entirely is not straightforward via command-line flags, so the safest mitigation remains patching or input restriction.

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 widely used for MP4/ISOBMFF file inspection, transcoding, and packaging. The vulnerable code path is triggered during the Opus track dump operation: dump_isom_opus() → gf_inspect_dump_opus_internal() → gf_opus_parse_packet_header() (media_tools/av_parsers.c). The corrupted stsz box (ISO 14496-12 sample-size box) causes Media_GetSample() to allocate an undersized 32-byte heap buffer. gf_opus_parse_packet_header() then fails to validate the buffer boundary before parsing the Opus packet header fields (CWE-122: Heap-based Buffer Overflow), performing a READ 1242 bytes past the heap region. This is a classic length-confusion flaw where the declared stsz entry does not match actual packet data, and the parser trusts the Opus header field values rather than the buffer's true capacity. The ASAN-confirmed READ of size 1 at av_parsers.c:11297 indicates a single-byte sequential over-read consistent with iterating a loop or indexing into a header field without bounds checking.

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 5.4 MEDIUM

File deliverable over network (AV:N); victim must run MP4Box -dxml (UI:R); heap leak possible (C:L); crash confirmed (A:L); no write primitive (I:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/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 MP4Box contains a heap buffer overflow vulnerability (CVE-2025-55648) with publicly available exploit code, enabling attackers to extract sensitive memory contents or disrupt services when a user processes a malicious MP4 file. Organizations using MP4Box for media processing face elevated risk if the tool processes files from untrusted sources.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict MP4Box to trusted file sources only, execute in isolated sandbox environments (containers or separate systems), disable -dxml flag unless required, implement application whitelisting for MP4Box execution, and monitor system logs for crashes or anomalies.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% 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.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 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.

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