Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in GPAC up to 2.4.0. Affected is the function MergeFragment of the file src/isomedia/isom_intern.c of the component MP4Box. The manipulation results in null pointer dereference. The attack needs to be approached locally. The exploit has been released to the public and may be used for attacks. The patch is identified as 525bf1af642c30af04e4df5345e6d798c0a4d8a1. It is advisable to implement a patch to correct this issue.
AnalysisAI
Null pointer dereference in GPAC's MP4Box tool (versions 2.0 through 2.4.0) allows a local, low-privileged attacker to crash the application by supplying a crafted MP4 file with a malformed Protection System Header Box (PSSH). The vulnerability resides in the MergeFragment function, which fails to validate the private_data pointer before passing it to memmove, resulting in a denial-of-service impact limited to the MP4Box process. A public proof-of-concept exploit exists (hosted on GitHub), though EPSS sits at 0.01% (2nd percentile) and the flaw is not listed in the CISA Known Exploited Vulnerabilities catalog, consistent with the low-severity, local-only nature of the issue.
Technical ContextAI
GPAC is an open-source multimedia framework; its MP4Box command-line tool reads and writes ISOBMFF/MP4 container files. The affected code path is in src/isomedia/isom_intern.c, specifically the MergeFragment function, which merges movie fragment boxes (moof) into a main ISOFile structure. During this merge, GPAC iterates over child boxes including GF_ProtectionSystemHeaderBox (PSSH), which carries DRM system-specific data for encrypted content. The pre-patch code unconditionally reads private_data_size and then calls memmove to copy private_data without first checking whether the pointer is non-null and the size is non-zero. A crafted MP4 file that omits or nulls out the PSSH private_data field therefore causes a null pointer dereference when memmove is called. The assigned CWE is CWE-404 (Improper Resource Shutdown or Release); however, the commit diff and description more precisely match CWE-476 (Null Pointer Dereference) - this classification discrepancy should be noted when tracking the issue in vulnerability management systems. The fix (commit 525bf1af642c30af04e4df5345e6d798c0a4d8a1 on the makesoftwaresafe/gpac fork) wraps the copy block in a conditional that guards on both private_data being non-null and private_data_size being non-zero.
RemediationAI
Apply the upstream fix committed at https://github.com/makesoftwaresafe/gpac/commit/525bf1af642c30af04e4df5345e6d798c0a4d8a1, which adds a null and size guard around the PSSH private_data copy in MergeFragment. Note that this commit is on the makesoftwaresafe/gpac security fork, not the main gpac/gpac repository; a specific released patch version has not been independently confirmed from available data - monitor https://github.com/gpac/gpac/releases for a tagged release incorporating this fix. As a compensating control, restrict MP4Box from processing untrusted or externally sourced MP4 files in automated pipelines; if MP4Box must consume untrusted input, run it in an isolated, sandboxed process (e.g., a container with no network access and restricted filesystem scope) so that a crash does not cascade into a broader service disruption. Disabling PSSH/DRM-related processing features in GPAC may also mitigate the issue if that functionality is not required, though the configuration mechanism for doing so should be verified against current GPAC documentation.
Same weakness CWE-404 – Improper Resource Shutdown or Release
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31945
GHSA-8h6c-5qr8-7wvp