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
Local-only file processing context requires low privileges; double-free causes crash only, with no confidentiality or integrity impact supported by evidence.
Primary rating from Vendor (VulDB).
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
3DescriptionCVE.org
A vulnerability was determined in GPAC up to 2.5-DEV. This vulnerability affects the function gf_isom_nalu_sample_rewrite of the file src/isomedia/avc_ext.c of the component MP4Box. This manipulation of the argument nalu_out_bs causes double free. It is possible to launch the attack on the local host. The exploit has been publicly disclosed and may be utilized. Patch name: f29f955f2a3b5e8e507caad3e52319f961bf37bf. To fix this issue, it is recommended to deploy a patch.
AnalysisAI
Double-free memory corruption in GPAC MP4Box up to version 2.5-DEV allows a local, low-privileged attacker to trigger heap corruption via a crafted MP4 file processed by the gf_isom_nalu_sample_rewrite function, resulting in low availability impact (crash). No confidentiality or integrity impact is indicated by the CVSS 4.0 vector despite the 'Information Disclosure' tag in VulDB, which appears inconsistent with the scored metrics. A public POC exists at GitHub, but no active exploitation has been confirmed and this CVE is not listed in CISA KEV.
Technical ContextAI
GPAC is an open-source multimedia framework; MP4Box is its command-line ISOBMFF/MP4 muxer and demuxer tool. The affected code path is gf_isom_nalu_sample_rewrite in src/isomedia/avc_ext.c, which handles AVC/H.264 NALU (Network Abstraction Layer Unit) sample rewriting within MP4 container tracks. CWE-415 (Double Free) occurs when the nalu_out_bs bitstream buffer object is freed more than once during NALU sample processing, causing heap metadata corruption. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N) confirms this is triggered locally with no special attack preconditions, and the vulnerable-system availability impact is low (VA:L), consistent with a crash or abort rather than arbitrary code execution. CPE cpe:2.3:a:n/a:gpac:*:*:*:*:*:*:*:* covers all GPAC versions up to 2.5-DEV.
RemediationAI
Apply upstream patch commit f29f955f2a3b5e8e507caad3e52319f961bf37bf available at https://github.com/gpac/gpac/commit/f29f955f2a3b5e8e507caad3e52319f961bf37bf. This is a source-level commit, not a tagged release - organizations should build GPAC from the patched source tree or wait for an official release that incorporates this fix; a specifically versioned patched release has not been independently confirmed at time of analysis. As a compensating control, restrict execution of MP4Box to trusted users and avoid processing untrusted or externally sourced MP4 files with unpatched builds. If GPAC is used in automated media processing pipelines, sandbox the MP4Box process using seccomp profiles, Linux namespaces, or container isolation to contain the impact of heap corruption to the processing process only. Disabling NALU rewriting operations on untrusted input is not directly configurable via a standalone flag, so process isolation is the most actionable workaround.
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
Same weakness CWE-415 – Double Free
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-210429
GHSA-r4c4-62x2-m3ww