Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-60494 Overview
CVE-2025-60494 is a segmentation violation in the gf_props_equal_internal function located in src/filter_core/filter_props.c of the GPAC multimedia framework. The flaw affects GPAC Project MP4Box versions prior to 2.5. Attackers can trigger a Denial of Service (DoS) condition by supplying a crafted data file to the affected binary. The root cause relates to GPAC accepting user-assigned constant data (GF_PROP_CONST_DATA) as a PID property without the ability to validate the referenced memory, leading to invalid memory access during property comparison.
Critical Impact
Processing a maliciously crafted media file with MP4Box causes a segmentation fault, resulting in process termination and Denial of Service on media processing pipelines.
Affected Products
- GPAC Project MP4Box versions prior to 2.5
- GPAC multimedia framework (filter_core/filter_props.c)
- Applications and pipelines embedding vulnerable GPAC libraries
Discovery Timeline
- 2026-10-20 - CVE-2025-60494 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2025-60494
Vulnerability Analysis
The vulnerability resides in gf_props_equal_internal, a function responsible for comparing filter PID properties within GPAC's filter core. When a crafted input file assigns a property of type GF_PROP_CONST_DATA to a filter PID, GPAC stores a pointer to memory it cannot validate. During later property equality checks, the function dereferences this pointer and reads attacker-controlled or out-of-bounds memory, producing a segmentation violation.
The issue is categorized as a Null Pointer Dereference / Out-of-Bounds Read class defect leading to Denial of Service. MP4Box exits abruptly when the fault is triggered, interrupting any batch transcoding or packaging workflow consuming the malicious file.
Root Cause
The GPAC filter engine permitted user-supplied values to be parsed into GF_PROP_CONST_DATA properties through PID assignment. Constant data properties hold raw pointers to externally managed buffers. Because GPAC has no mechanism to verify the size or validity of those buffers at property-comparison time, downstream calls to gf_props_equal_internal operate on untrusted memory. The upstream patch (fcb9083) explicitly rejects this property type at parse time to eliminate the unsafe path.
Attack Vector
Exploitation requires an attacker to deliver a crafted data file that is then processed by MP4Box or any application linked against the vulnerable GPAC filter core. No network access or privileges are required beyond the ability to supply the file. The outcome is limited to Denial of Service; no code execution or data disclosure has been demonstrated.
// Patch for src/filter_core/filter_pid.c (commit fcb9083)
if (p.type == GF_PROP_FORBIDDEN) {
p = gf_props_parse_value(prop_type, name, value, NULL, sep_list);
+ //we don't allow passing const data as PID properties as we have now way of checking the described memory
+ if (p.type == GF_PROP_CONST_DATA) {
+ p.type = GF_PROP_FORBIDDEN;
+ GF_LOG(GF_LOG_WARNING, GF_LOG_FILTER, ("Const data (%s) is not allowed as user-assigned PID property, ignoring\n", value));
+ }
}
if (p.type != GF_PROP_FORBIDDEN) {
Source: GitHub Commit fcb9083 for GPAC. The patch forces any GF_PROP_CONST_DATA returned by gf_props_parse_value back to GF_PROP_FORBIDDEN and logs a warning, preventing the unsafe property from ever reaching gf_props_equal_internal.
Detection Methods for CVE-2025-60494
Indicators of Compromise
- Unexpected SIGSEGV crashes of MP4Box or GPAC-linked processes during media file parsing.
- Core dumps whose backtrace includes gf_props_equal_internal or filter_core/filter_props.c.
- Media files flagged in referenced PoC assets at the GPAC PoC README Documentation.
Detection Strategies
- Monitor process-termination events for MP4Box and other GPAC consumers, correlating exit signals with the file last read.
- Enable crash reporting (for example, systemd-coredump, abrt, or Windows Error Reporting) to capture faulting call stacks for triage.
- Inventory installed GPAC versions across build servers, transcoding farms, and developer workstations and flag any version below 2.5.
Monitoring Recommendations
- Alert when GPAC processes crash while handling files sourced from untrusted or user-upload paths.
- Track GitHub Issue #3329 in GPAC for updated reproducer details and related fixes.
- Instrument media ingestion pipelines to log file hashes, enabling retroactive identification of crafted inputs.
How to Mitigate CVE-2025-60494
Immediate Actions Required
- Upgrade GPAC and MP4Box to version 2.5 or later, which includes commit fcb9083.
- Isolate media conversion workloads in sandboxed or containerized environments with automatic restart on failure.
- Restrict MP4Box exposure so that only trusted users or validated pipelines can submit files for processing.
Patch Information
The fix is upstream in GPAC via commit fcb9083292befe61d3e2466b18edfedba49da098, which blocks GF_PROP_CONST_DATA from being assigned as a user-controlled PID property. Rebuild any application that statically links GPAC after updating sources, and redeploy affected packages across all environments.
Workarounds
- Validate or reject untrusted media files before they reach MP4Box, for example by pre-scanning with a hardened parser.
- Run GPAC under a resource-constrained service account with ulimit restrictions and automatic process supervision to limit DoS impact.
- Disable MP4Box-based automation on any host that cannot be upgraded until the patched release is deployed.
# Verify installed GPAC version and upgrade from source
MP4Box -version 2>&1 | head -n 1
git clone https://github.com/gpac/gpac.git
cd gpac
git checkout v2.5
./configure --static-bin
make -j"$(nproc)"
sudo make install
MP4Box -version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

