GHSA-x2hx-42x5-g535
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted MP4 with malformed Opus TOC
-
DeliveryUser/pipeline invokes MP4Box -dxml
-
Exploitdump_isom_opus triggers Opus inspection
-
Executiongf_opus_parse_packet_header reads 1 byte past heap allocation
-
ImpactProcess crash and potential heap memory disclosure
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 | Exploitation requires that a user or automated process invoke MP4Box with the -dxml XML dump flag against an attacker-controlled or attacker-supplied MP4 file containing a malformed Opus audio track with an invalid TOC code 3 length field. The vulnerable code path (gf_inspect_dump_opus_internal → gf_opus_parse_packet_header) is only reached during Opus track inspection in dump mode; standard MP4 remuxing or metadata-only operations do not trigger it. No authentication, account, or special OS privileges are required - the only prerequisite is the ability to supply a crafted file to an MP4Box invocation that includes the -dxml flag. Exploitation is limited to the context of the MP4Box process; scope is unchanged (S:U), meaning a successful exploit crashes or reads heap memory within the tool but does not directly affect other processes. Interactive desktop users are less likely to be targeted than automated media-ingestion pipelines or CI/CD jobs that process untrusted uploads. |
| Impact | The reported 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 broadly consistent with the described impact: unauthenticated network delivery of a crafted file, low complexity to trigger, but requiring user interaction (UI:R) to open or process the file. The integrity vector is correctly N since this is a read-only overflow. The confidentiality impact (C:L) reflects potential leakage of adjacent heap memory, though the practical exploitability of that leakage for anything beyond crash analysis is uncertain without further research. No EPSS data was provided in the intelligence feed; however, given that a working PoC file is publicly available and the attack complexity is low once the file is delivered, real-world risk to automated media pipelines or CI/CD systems that invoke MP4Box on untrusted content is meaningfully elevated above the medium score implies for interactive users. There is no CISA KEV listing, suggesting exploitation remains opportunistic or targeted rather than widespread. The primary real-world risk is denial of service through reproducible crash in batch-processing environments; heap disclosure is a secondary, less certain impact. |
| Exploit ScenarioDerived | An attacker crafts an MP4 file embedding an Opus audio track with an invalid TOC code 3 packet that causes a deliberately undersized heap buffer to be allocated by Media_GetSample(). When a user or automated pipeline runs 'MP4Box crafted.mp4 -dxml -out /dev/null', the Opus packet header parsing reads one byte beyond the 3-byte allocation, crashing the tool and potentially exposing adjacent heap contents. A functional PoC file (9_poc.mp4) is publicly available at https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/9/9_poc.mp4, making reproduction trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 13, 2026
Heap-based buffer overflow in GPAC's MP4Box Opus packet parser exposes file-processing pipelines to heap memory disclosure and application crash when handling a crafted MP4 containing a malformed Opus audio track. Processing a specially constructed file via MP4Box's XML dump mode (-dxml) triggers an out-of-bounds READ of 1 byte beyond a 3-byte heap allocation inside gf_opus_parse_packet_header() at av_parsers.c:11326, with adjacent heap memory potentially leaked as a secondary consequence. No public exploitation has been confirmed (not in CISA KEV), but a functional PoC MP4 file is publicly available on GitHub, lowering the barrier for targeted abuse in automated media-ingestion workflows.
RemediationAI
The upstream fix is available as commit ff8249a407685d00ceb5f4d2a798b9cad195140e in the gpac/gpac repository; however, a versioned tagged release incorporating this fix has not been independently confirmed at time of analysis. Users should build GPAC from source at or after this commit, or monitor the official GPAC release channel for a patched version. As a compensating control for automated pipelines, avoid invoking MP4Box with the -dxml flag on untrusted or externally sourced MP4 files until a patched release is available - this directly removes the vulnerable code path (dump_isom_opus → gf_inspect_dump_opus_internal → gf_opus_parse_packet_header). Sandboxing MP4Box invocations (e.g., via seccomp, bubblewrap, or container isolation) will limit the blast radius of a successful crash or heap leak. Input validation at ingestion - rejecting MP4 files with Opus tracks from untrusted sources - is a further compensating measure. References: https://github.com/gpac/gpac/issues/3160 and https://seclists.org/oss-sec/2026/q2/913.
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 widely used for MP4 file analysis, packaging, and inspection; its MP4Box command-line tool is the primary attack surface here. The vulnerable function gf_opus_parse_packet_header() in media_tools/av_parsers.c is responsible for parsing the Opus codec's Table of Contents (TOC) byte and subsequent header fields in an Opus audio packet embedded within an ISOBMFF/MP4 container. The root cause (CWE-122, Heap-based Buffer Overflow) is insufficient validation of the input buffer length before indexing into header fields when the Opus TOC code is 3 - a value that encodes a variable-length packet count and implies a larger header footprint than a minimal 3-byte heap region. The sample allocated by Media_GetSample() is too small, and the read at offset +3 goes one byte beyond the end of that allocation. The execution path is: MP4Box -dxml → dump_isom_opus (filedump.c:1501) → gf_inspect_dump_opus_internal (filters/inspect.c:1830) → gf_opus_parse_packet_header (av_parsers.c:11326). The issue is confirmed reproducible with AddressSanitizer on the master branch at the time of discovery.
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
Network-delivered file triggers crash on user action (UI:R); read-only overflow limits impact to heap disclosure (C:L) and crash (A:L), with no write capability (I:N).
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Executive ViewAI
GPAC MP4Box contains a memory corruption vulnerability in its audio file parser that allows specially crafted files to disclose heap memory and crash applications; publicly available exploit code exists. Organizations using automated media-processing pipelines to handle untrusted MP4 file uploads face risks of service outages and data exposure. This directly impacts media-handling services and cloud-based content platforms.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Accept MP4 files only from trusted sources; restrict access to media-ingestion systems; (2) Isolate media-processing workloads in sandboxed or containerized environments with restricted memory protection; (3) Disable the -dxml feature unless operationally critical; (4) Implement MP4 file format validation at ingestion to reject malformed files; (5) Monitor for and alert on unexpected crashes in media-processing services and abnormal memory access patterns.
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 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.
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-210152
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB