CVE-2025-55639
Description
GPAC MP4Box v2.4 was discovered to contain a NULL pointer dereference in the gf_isom_add_track_kind() function at isomedia/isom_write.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted MP4 file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
Root cause
"Missing null-pointer check on the 'kind' parameter in gf_isom_add_track_kind() before passing it to strdup() causes a NULL pointer dereference."
Attack vector
An attacker crafts an MP4 file containing MPEG-H Audio tracks that causes the `kind` parameter to be NULL when `gf_isom_add_track_kind()` is called. Importing this file with `./MP4Box -add crafted.mp4 -new /dev/null` triggers a segmentation fault during track import due to a NULL pointer dereference in `strdup()` [ref_id=1]. No authentication or special privileges are required; the attacker only needs to deliver the malicious file to the victim.
Affected code
The vulnerability is in the `gf_isom_add_track_kind()` function in `isomedia/isom_write.c` (line 3153). The function does not validate the `kind` parameter before passing it to `strdup()`, leading to a NULL pointer dereference when processing a crafted MP4 file containing MPEG-H Audio tracks [ref_id=1].
What the fix does
The patch is not available in the bundle, so no fix diff can be analyzed. The advisory describes a NULL pointer dereference in `gf_isom_add_track_kind()` at line 3153 of `isomedia/isom_write.c`, where the `kind` parameter is passed to `strdup()` without a NULL check [ref_id=1]. A proper fix would require adding a NULL check on the `kind` argument before calling `strdup()`, or validating that the input track metadata provides a valid non-NULL kind string.
Preconditions
- inputVictim must run MP4Box (or a GPAC-based tool) to import a crafted MP4 file using the -add command.
- inputThe crafted MP4 file must contain MPEG-H Audio tracks that trigger a NULL kind parameter.
Generated on Jun 24, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4News mentions
0No linked articles in our index yet.