GHSA-79v6-5w6w-c48m
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft AVI file with zero frame count
-
DeliveryDeliver file to MP4Box pipeline or user
-
ExploitMP4Box invokes DASH segmentation
-
ExecutionDasher calls avidmx_process() with no bitrate PID property
-
PersistDivision by zero at dmx_avi.c:639
-
ImpactFPE crash, process terminated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
|
| Exploitation Conditions | Exploitation requires that the target invoke MP4Box with DASH segmentation enabled (the -dash flag) on a crafted AVI-like file containing invalid frame-count metadata (specifically a zero frame count such as 0/256). The crash path is only reachable when the Dasher computes bitrate from the bitstream because no bitrate property was assigned to the PID - this is the default code path during DASH processing of AVI input. No authentication and no special privileges are required beyond the ability to supply a crafted file to MP4Box. Exploitation is limited by the requirement for user or automated-pipeline interaction with the crafted file (CVSS UI:R); in fully automated ingest pipelines processing untrusted files, this interaction barrier is absent. Impact is constrained to availability (process crash, denial-of-service) with no confidentiality or integrity impact confirmed. |
| Impact | The reporter-assigned CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L (4.3 MEDIUM), reflecting a crash-only availability impact with user interaction required (the user or pipeline must actively process the crafted file). Real-world risk is bounded by availability-only impact with no confidentiality or integrity consequences - the worst outcome is a process crash or denial-of-service against a media processing pipeline. In server-side or automated media ingest pipelines where MP4Box processes untrusted user-submitted files without human review, the UI:R barrier effectively disappears, elevating practical risk compared to the raw CVSS score. A public PoC file exists on GitHub (sigdevel/pocs), meaning the barrier to triggering the bug is trivially low for anyone with file-delivery access. No EPSS data, no KEV listing, and no evidence of exploitation in the wild are confirmed. The primary real-world risk scenario is denial-of-service in media conversion services or CI/CD pipelines that invoke MP4Box on untrusted input. |
| Exploit ScenarioDerived | An attacker uploads a crafted AVI-like media file (such as the published PoC at sigdevel/pocs) containing a zero-frame-count metadata declaration to a video processing service that internally invokes MP4Box with DASH segmentation. When the service runs MP4Box -dash 1000 on the file, avidmx_process() divides by zero at filters/dmx_avi.c:639, causing an FPE crash and denial-of-service for that processing job. A public PoC file exists, making the reproduction trivial for anyone with file-submission access to an affected pipeline. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 13, 2026
Divide-by-zero in GPAC's MP4Box AVI demuxer crashes the process when handling crafted media files with zero-declared frame counts. Specifically, avidmx_process() in filters/dmx_avi.c:639 fails to validate the frame count before using it as a divisor during Dasher bitrate computation, triggering an uncaught floating-point exception (FPE) when DASH segmentation is invoked. A public proof-of-concept file exists; exploitation requires no authentication or special privileges beyond delivering a malformed AVI-like input to an affected MP4Box instance. EPSS data is not yet available, and the vulnerability is not listed in CISA KEV, indicating no confirmed widespread exploitation at time of analysis.
RemediationAI
The upstream fix is available as commit f87b30611380e4dcd03cd4dd9ac553c0ec336826 in the gpac/gpac repository; organizations building from source should update to a commit at or after this hash. No officially tagged patched release version has been independently confirmed at time of analysis. For environments that cannot immediately update, a viable compensating control is to restrict or disable DASH segmentation workflows (-dash flag) that process untrusted or externally-supplied AVI files, as the crash is only triggered through the DASH segmentation code path via gf_dasher_process(). Input validation at the ingest boundary - rejecting AVI files with zero or implausible frame-count metadata before passing them to MP4Box - is a second practical mitigation. Sandboxing or containerizing MP4Box processes handling untrusted media will limit blast radius to a single process crash rather than broader service disruption. The GitHub issue is at https://github.com/gpac/gpac/issues/3196.
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 for ISOBMFF/MP4 packaging, DASH segmentation, and format conversion. The vulnerable code path lives in filters/dmx_avi.c, the AVI demuxer filter. When MP4Box runs DASH segmentation (-dash flag), the Dasher pipeline calls gf_dasher_process(), which in turn invokes the AVI demuxer filter avidmx_process(). If no bitrate property has been assigned to the PID, the Dasher attempts to compute bitrate from the bitstream, dividing by the frame count sourced from the AVI metadata. A crafted file can declare a frame count of 0/256, causing an integer or floating-point division by zero at line 639. The root cause class is CWE-369 (Divide by Zero) - insufficient input validation of a metadata field that is subsequently used as a divisor. The affected codebase is gpac/gpac prior to upstream commit f87b30611380e4dcd03cd4dd9ac553c0ec336826. No CPE string has been formally assigned by NVD at time of analysis, but the affected component is identifiable as the gpac:gpac product line.
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:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Network vector applies as file can be remotely delivered; UI:R because a user or pipeline must actively invoke MP4Box on the crafted input; availability-only impact with no confidentiality or integrity consequences.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Executive ViewAI
GPAC MP4Box contains a denial-of-service vulnerability (CVE-2025-55642) that crashes the application when processing crafted media files. This vulnerability poses operational risk to media processing pipelines and transcoding services, with public exploit code available and no patch currently available from the vendor. Organizations using MP4Box face immediate disruption risk if they process media files from untrusted sources.
No vendor-released patch identified at time of analysis. Restrict MP4Box to process only media files from trusted internal sources; implement file-type and format validation before processing; use containerization or process isolation to prevent single malformed file from affecting other systems; enable detailed logging and alerting on application crashes; consider temporary disabling MP4Box if not operationally critical.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-210142
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB