Severity by source
AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H
Lifecycle Timeline
4DescriptionGitHub Advisory
GPAC is an open-source multimedia framework. Prior to commit 86b0e36, a heap-based buffer overflow (write) vulnerability was discovered in GPAC MP4Box. The vulnerability exists in the gf_xml_parse_bit_sequence_bs function in utils/xml_bin_custom.c when processing a crafted NHML file containing malicious <BS> (BitSequence) elements. An attacker can exploit this by providing a specially crafted NHML file, causing an out-of-bounds write on the heap. This issue has been via commit 86b0e36.
AnalysisAI
Heap-based buffer overflow in GPAC MP4Box's XML parsing function allows local attackers to corrupt memory and potentially crash the application or achieve code execution by crafting malicious NHML files with specially formatted BitSequence elements. The vulnerability affects systems processing untrusted multimedia files and remains unpatched as of this advisory. Exploitation requires user interaction to open a malicious file.
Technical ContextAI
GPAC (General Purpose Audio/Video Codec framework) is an open-source multimedia toolkit that includes MP4Box, a command-line utility for processing NHML files and other multimedia containers. The root cause is a classic CWE-787 (Out-of-bounds Write) vulnerability in the utils/xml_bin_custom.c module, specifically in the gf_xml_parse_bit_sequence_bs function which processes BitSequence (BS) XML elements without proper bounds validation. When parsing maliciously crafted NHML files containing oversized or specially crafted BS elements, the parser writes beyond allocated heap buffer boundaries. GPAC is distributed as cpe:2.3:a:gpac:gpac:*:*:*:*:*:*:*:*, affecting all versions prior to the patched commit. This vulnerability is particularly relevant for users processing untrusted multimedia metadata files.
RemediationAI
Update GPAC to a version that includes commit 86b0e36 or later. Users should pull the latest code from the main branch or wait for the next stable release that incorporates the patch. Until patching is possible, implement defense-in-depth measures: restrict MP4Box access to trusted users and local processes, disable processing of NHML files from untrusted sources, and implement file integrity monitoring on NHML inputs. Organizations should monitor the official GitHub repository (https://github.com/gpac/gpac) and the security advisory (https://github.com/gpac/gpac/security/advisories/GHSA-3jw5-9pmw-vmfg) for official release notifications when a patched version becomes available.
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-787 – Out-of-bounds Write
View allSame technique Memory Corruption
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-13782