GPAC through 26.07.0 contains a type confusion vulnerability in gf_sg_command_apply() in src/scenegraph/commands.c that fails to verify BIFS field-replace command types match target node fields. Attackers can supply a crafted XMT file opened with MP4Box, such as via chapter import, causing gf_sg_vrml_field_clone() to memcpy from invalid pointers and crash.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-843"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124030.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "26.07.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "1359c4da9329cedceeb8fcfeab6d97e0927236e1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124030.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "217817704308211904524693765097301679716",
"length": 21760
},
"id": "CVE-2026-124030-3bc91901",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1",
"target": {
"file": "src/scenegraph/commands.c",
"function": "gf_sg_command_apply"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "216084942161527467788561722111994249773",
"length": 590
},
"id": "CVE-2026-124030-6b89de21",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1",
"target": {
"file": "src/scenegraph/vrml_tools.c",
"function": "gf_sg_vrml_mf_reset"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"135913995633887909001569357495820371508",
"13437335075453951266896494414035439507",
"130542739899989201910245190261983532298",
"284925564710188071438305290502501304571",
"162827351922250329159409163149792814135",
"238574535952119707595716096880602200299",
"269614566168691517258686579814467060623",
"170437623457830702456781610749375271178"
],
"threshold": 0.9
},
"id": "CVE-2026-124030-82514203",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1",
"target": {
"file": "src/scenegraph/vrml_tools.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "213363803951149469051614418590643215703",
"length": 4405
},
"id": "CVE-2026-124030-bdedd883",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1",
"target": {
"file": "src/scenegraph/vrml_tools.c",
"function": "gf_sg_vrml_field_clone"
}
}
]
"2026-11-16T07:09:22Z"