GPAC MP4Box Memory Safety Vulnerabilities
2026-09-14
Denial of service in GPAC MP4Box (up to commit f1219cde) triggers a process abort via an unconditional reachable assertion (`gf_assert(0)`) inside `xmt_parse_element` in `scene_manager/loader_xmt.c` when parsing a crafted XMT scene file. Local, low-privilege users can crash the process by feeding malformed input to the MP4Box command-line tool; no code execution or data leakage is possible. A public proof-of-concept is documented and the vendor has released a fix in version abi-16.23.
GPAC's MP4Box media packager crashes on a crafted MP4 file due to a reachable assertion in stbl_GetSampleInfos() (src/isomedia/stbl_read.c), which fires when a malformed sample-to-chunk table causes firstSampleInCurrentChunk to exceed the current sampleNumber. All GPAC releases up to commit f1219cde are affected. A public exploit writeup exists; however, exploitation is limited to local denial-of-service-crashing the MP4Box process-with no confidentiality or integrity impact. The vendor has released a patch in tag abi-16.23 replacing the bare gf_assert with a graceful error-return path.
Reachable assertion in GPAC's MP4Box tool (up to commit f1219cde) causes process abort when processing a crafted MPEG-4 scene file: `gf_sm_dump_command_list()` in `scene_manager/scene_dump.c` fires `gf_assert(!sdump->current_com_list)` if the command-list pointer is already populated at dump time, crashing MP4Box. A local attacker with standard user privileges who can supply input to the MP4Box binary can trigger this denial of service. No public exploit confirmed in CISA KEV, but a publicly available proof-of-concept exists; vendor-released patch abi-16.23 is available.
Null pointer dereference in GPAC MP4Box up to commit f1219cde causes a local denial-of-service when processing crafted VRML/MPEG-4 scenegraph content via the MP4Box tool. The crash originates in scenegraph/vrml_tools.c, specifically in the cyclic traversal flag logic where a node pointer is dereferenced without a NULL guard. A publicly available proof-of-concept exploit exists, and the patch was merged in release abi-16.23. No public exploitation activity (KEV) has been observed; this is a low-severity, locally-exploitable tool crash with no confidentiality or integrity impact.
Heap buffer over-read in GPAC's MP4Box component allows a local attacker to crash the process by supplying a crafted media file with malformed SVG attributes. The flaw resides in `gf_svg_attributes_copy` (scenegraph/svg_attributes.c) and manifests when MP4Box parses SVG attribute data without adequate bounds enforcement. A publicly available proof-of-concept exists; no active exploitation has been confirmed. The impact is limited to availability - denial of service via process crash - with no confidentiality or integrity consequence.