GHSA-vqcx-5xmf-2c7g
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malformed MP4 with invalid non-self-delimited Opus packet
-
DeliveryDeliver file to target user or upload to MP4Box pipeline
-
ExploitVictim or pipeline invokes MP4Box -dxml on crafted file
-
Executiongf_opus_read_length() writes 2 bytes past pckh stack buffer boundary
-
ImpactMP4Box 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Description PRE-NVD
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Heap Buffer Overflow vulnerability in GPAC version 2.3-DEV-rev617-g671976fcc-master, allows attackers to execute arbitra
NULL Pointer Dereference in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.8), this vulnera
GPAC mp4box 2.1-DEV-revUNKNOWN-master has a use-after-free vulnerability in function gf_isom_dovi_config_get. Rated crit
Use After Free in GitHub repository gpac/gpac prior to v2.1.0-DEV. Rated critical severity (CVSS 9.8), this vulnerabilit
NULL Pointer Dereference in the "isomedia/track.c" module's "MergeTrack()" function of GPAC v0.5.2 allows attackers to e
An issue was discovered in libgpac.a in GPAC 0.8.0, as demonstrated by MP4Box. Rated critical severity (CVSS 9.8), this
An issue was discovered in MP4Box in GPAC 0.7.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Out-of-bounds Read in GitHub repository gpac/gpac prior to 2.2.2. Rated critical severity (CVSS 9.1), this vulnerability
A vulnerability, which was classified as critical, has been found in GPAC 2.3-DEV-rev40-g3602a5ded.c. Rated high severit
A vulnerability, which was classified as problematic, was found in GPAC 2.1-DEV-rev490-g68064e101-master. Rated high sev
An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv
An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Adv
EUVD-2025-210151
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB