Skip to main content

GPAC MP4Box EUVDEUVD-2025-210151

| CVE-2025-55660 MEDIUM
Stack-based Buffer Overflow (CWE-121)
5.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Craft malformed MP4 with invalid non-self-delimited Opus packet
  2. Delivery
    Deliver file to target user or upload to MP4Box pipeline
  3. Exploit
    Victim or pipeline invokes MP4Box -dxml on crafted file
  4. Execution
    gf_opus_read_length() writes 2 bytes past pckh stack buffer boundary
  5. Impact
    MP4Box process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack 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

Exploitation requires the victim to invoke MP4Box with arguments that trigger Opus track inspection or XML dump operations (e.g., -dxml or equivalent) against a crafted MP4 file containing a malformed, non-self-delimited Opus packet with an invalid odd packet length. No authentication, special privileges, or non-default configuration are required beyond the ability to supply a crafted file to the MP4Box process. Exploitation is bounded by the UI:R condition - a user or automated process must actively run MP4Box against the malicious file; the vulnerability cannot be triggered remotely without this step. The affected code path is limited to Opus packet parsing during dump/inspection operations; MP4Box operations that do not involve Opus track processing are not affected. Current confirmed impact is limited to process crash (availability/DoS); no confidentiality or integrity impact has been demonstrated.

Impact

The reported CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L scores 4.3 MEDIUM, which is an accurate reflection of the observable impact: a 2-byte stack write overflow resulting in a process crash (availability impact only), requiring user interaction to trigger. The attack complexity is low once the PoC file exists, but the UI:R constraint meaningfully limits opportunistic automation unless MP4Box is deployed in an unattended media processing pipeline receiving external files. No EPSS data was provided, and this CVE is not listed in CISA KEV, so no confirmed active exploitation exists at time of analysis. The existence of a public PoC MP4 file at the reporter's GitHub repository (https://github.com/sigdevel/pocs) lowers the reproduction barrier significantly. The real-world priority is elevated for organizations running MP4Box in automated transcoding or inspection pipelines where untrusted MP4 files are processed without prior filtering - in that deployment pattern, the UI:R condition is functionally satisfied by the pipeline itself. For interactive desktop use, risk is limited to social engineering scenarios. Current evidence supports only DoS (crash) impact; potential for memory corruption beyond crash on specific build configurations or architectures is not ruled out but has not been demonstrated in available data.

Exploit ScenarioDerived

An attacker crafts a malicious MP4 file containing a non-self-delimited Opus track with an invalid odd packet length - a ready-made PoC is publicly available at the reporter's GitHub - and delivers it to a victim via email, file share, or upload to a media processing service running MP4Box. When the victim or automated pipeline invokes MP4Box with a dump or inspection command (e.g., MP4Box -add 7_poc.mp4 -dxml -out /dev/null), gf_opus_read_length() performs an out-of-bounds 2-byte stack write, immediately crashing the process and denying service.

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

Stack-based buffer overflow in GPAC's MP4Box tool crashes the process when parsing a crafted MP4 file containing a malformed non-self-delimited Opus packet. The function gf_opus_read_length() in media_tools/av_parsers.c performs a 2-byte out-of-bounds write into a stack-allocated pckh structure at offset 568, confirmed by AddressSanitizer at line 11140. No active exploitation is confirmed in CISA KEV, but a public proof-of-concept MP4 file is available from the reporter, and the CVSS vector (PR:N, UI:R) indicates any user or automated pipeline invoking MP4Box on untrusted Opus-bearing MP4 files is at risk of a process crash.

RemediationAI

The upstream fix is available as commit ff8249a407685d00ceb5f4d2a798b9cad195140e in the gpac/gpac GitHub repository; users should rebuild GPAC from a source tree containing this commit. A tagged or released patched version has not been independently confirmed from available data - users should monitor the upstream releases page and the GitHub issue https://github.com/gpac/gpac/issues/3161 for an official release announcement. As a compensating control for automated pipelines, restrict MP4Box to processing only trusted, validated MP4 files and avoid invoking Opus track dump or XML inspection operations (e.g., -dxml flag) on externally supplied content. Sandboxing MP4Box invocations (e.g., via seccomp, containers, or least-privilege service accounts) limits blast radius to a process crash rather than broader system impact. Disabling Opus track processing specifically is not straightforwardly configurable via flags but avoiding -dxml and related dump operations reduces exposure. Advisory references: https://seclists.org/oss-sec/2026/q2/915 and https://github.com/gpac/gpac/issues/3161.

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; MP4Box is its command-line tool used for MP4 muxing, demuxing, inspection, and track manipulation. The vulnerability is rooted in CWE-121 (Stack-based Buffer Overflow): gf_opus_read_length() in media_tools/av_parsers.c:11140 computes a length value from a malformed, non-self-delimited Opus packet with an invalid odd packet length, then writes that 2-byte value back into the pckh stack object (fixed-size, allocated in gf_inspect_dump_opus_internal()) without first validating that the computed offset falls within the struct's bounds. The call chain is gf_inspect_dump_opus_internal() → gf_opus_parse_packet_header() → gf_opus_read_length(). This overflow path is triggered specifically during Opus track inspection and XML dump operations. The fix is tracked upstream at commit ff8249a407685d00ceb5f4d2a798b9cad195140e in the gpac/gpac GitHub repository. No CPE strings were provided in available intelligence.

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

File delivered over network (AV:N), no complexity or privileges required (AC:L, PR:N), but user must invoke MP4Box on the file (UI:R); only process crash demonstrated, no C/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:P/VC:N/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

Description PRE-NVD

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

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Social Media
1
Sightings
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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
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 stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

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