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-60479 Overview
CVE-2025-60479 is a NULL pointer dereference vulnerability in the StatSFVec2f function located in /scene_manager/scene_stats.c of GPAC Project/MP4Box prior to version 2.5. The flaw allows attackers to trigger a Denial of Service (DoS) condition by supplying a crafted MPEG-4 file to the vulnerable parser. GPAC is a widely used open-source multimedia framework, and MP4Box is its command-line utility for packaging and inspecting MP4/ISOBMFF content. Processing a malicious file causes the application to crash due to dereferencing a NULL pointer during scene statistics collection.
Critical Impact
Attackers can crash MP4Box or any downstream service that invokes the vulnerable GPAC code path by submitting a specially crafted MPEG-4 file, disrupting media processing pipelines.
Affected Products
- GPAC Project MP4Box versions before 2.5
- GPAC multimedia framework scene manager component
- Applications and services embedding vulnerable GPAC libraries
Discovery Timeline
- 2026-10-21 - CVE-2025-60479 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2025-60479
Vulnerability Analysis
The vulnerability resides in the StatSVGPoint helper function invoked through the StatSFVec2f code path in src/scene_manager/scene_stats.c. The function received a pointer to an SFVec2f structure without validating that the pointer was non-NULL before dereferencing its x and y members. When MP4Box parses a crafted MPEG-4 file that produces a NULL SFVec2f input during scene statistics aggregation, the resulting dereference crashes the process.
This class of defect is tracked as a NULL pointer dereference and is a common cause of parser-level denial of service in multimedia frameworks that process untrusted container formats.
Root Cause
The root cause is missing input validation on a function parameter. The pre-patch implementation only verified that the stat pointer was non-NULL and assumed the val pointer passed by the caller was always valid. Any upstream parsing path that could produce a NULL val would therefore trigger the crash.
Attack Vector
Exploitation requires an attacker to deliver a crafted MPEG-4 file to a victim running a vulnerable version of MP4Box or any application that invokes the affected GPAC scene statistics routines. The attack is local to the file-processing context but can be delivered remotely through upload portals, media processing pipelines, or automated transcoding services.
// Security patch in src/scene_manager/scene_stats.c
static void StatSVGPoint(GF_SceneStatistics *stat, SFVec2f *val)
{
- if (!stat) return;
+ if (!stat || !val) return;
if (stat->max_2d.x < val->x) stat->max_2d.x = val->x;
if (stat->max_2d.y < val->y) stat->max_2d.y = val->y;
if (stat->min_2d.x > val->x) stat->min_2d.x = val->x;
Source: GPAC commit 75786eb. The fix adds an explicit NULL check for the val parameter before dereferencing its members.
Detection Methods for CVE-2025-60479
Indicators of Compromise
- Unexpected crashes or segmentation faults in MP4Box or applications linking the GPAC libgpac library when processing MPEG-4 input.
- Core dumps or crash telemetry referencing StatSVGPoint, StatSFVec2f, or the scene_stats.c source file.
- Repeated submission of malformed MP4 files from a single source to a media ingestion endpoint.
Detection Strategies
- Monitor process exit codes and signal terminations for MP4Box worker processes handling user-supplied media.
- Enable crash reporting on hosts and container workloads performing MPEG-4 parsing to capture stack traces for triage.
- Correlate media upload events with downstream processor restarts to identify DoS attempts.
Monitoring Recommendations
- Track versions of GPAC deployed across build pipelines, transcoding farms, and developer workstations.
- Alert on execution of MP4Box versions prior to 2.5 in production environments.
- Capture and retain samples of files that cause parser crashes for signature development and threat hunting.
How to Mitigate CVE-2025-60479
Immediate Actions Required
- Upgrade GPAC and MP4Box to version 2.5 or later across all systems that process MPEG-4 content.
- Inventory any third-party tooling that bundles the GPAC library and apply vendor-supplied updates.
- Restrict MP4Box processing of untrusted media files to sandboxed or isolated execution environments until patched.
Patch Information
The upstream fix is available in GPAC commit 75786eb61b7cc838b57c3d4f8004b4f13b5b724c, referenced in GPAC issue #3322. The commit adds a NULL check in StatSVGPoke and additionally resets ctx->pkt handling in src/filters/ff_dmx.c. A proof-of-concept and reproduction steps are documented in the sigdevel PoC repository and discussed in an infosec.exchange post by sigdevel.
Workarounds
- Avoid processing untrusted or unauthenticated MPEG-4 files with vulnerable MP4Box builds.
- Run MP4Box inside containerized or chrooted environments with automatic restart policies to absorb crashes.
- Implement upstream validation of MP4 container structure before invoking GPAC parsing routines.
# Verify installed GPAC/MP4Box version and upgrade
MP4Box -version
# Build patched version from source
git clone https://github.com/gpac/gpac.git
cd gpac
git checkout v2.5
./configure && make -j$(nproc)
sudo make install
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

