{"id":"CVE-2026-124030","summary":"GPAC through 26.07.0 Type Confusion via gf_sg_command_apply XMT Field-Replace","details":"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.","modified":"2026-11-16T07:09:22.725542557Z","published":"2026-11-06T19:14:46.903Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-843"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124030.json"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/11/14/12"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124030.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124030"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gpac-through-26.07.0-type-confusion-via-gf-sg-command-apply-xmt-field-replace"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/4032"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1"},{"type":"PACKAGE","url":"https://github.com/gpac/gpac"},{"type":"ARTICLE","url":"https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/commands.c#L321"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/224/224_gf_sg_command_apply_scenegraph_commands_c_346.xmt"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"fixed":"1359c4da9329cedceeb8fcfeab6d97e0927236e1"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"26.07.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"1359c4da9329cedceeb8fcfeab6d97e0927236e1"}]}]}}],"versions":["abi-16.27","abi-16.26","abi-16.25","abi-16.24","abi-16.23","abi-16.22","v26.07.0","abi-16.21","abi-16.20","abi-16.19","abi-16.18","abi-16.17","abi-16.16","abi-16.15","abi-16.14","abi-16.13","abi-16.11","abi-16.10","abi-16.9","abi-16.8","abi-16.7","abi-16.6","v26.02.0","abi-16.5","abi-16.4","abi-16.3","abi-16.2","abi-16","abi-15.2","abi-15.1","abi-15.0","abi-15","abi-14.0","abi-14","abi-13.0","abi-13","abi-12.27","abi-12.26","abi-12.25","abi-12.24","abi-12.23","abi-12.22","abi-12.21","abi-12.20","abi-12.19","abi-12.18","abi-12.17","abi-12.16","abi-12","testtag0.1","v2.2.0","v2.0.0","v1.0.0","v0.9.0","v0.9.0-preview","v0.6.0","v0.5.2"],"database_specific":{"vanir_signatures_modified":"2026-11-16T07:09:22Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124030.json","vanir_signatures":[{"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"}},{"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":{"function_hash":"216084942161527467788561722111994249773","length":590},"id":"CVE-2026-124030-6b89de21"},{"source":"https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1","target":{"file":"src/scenegraph/vrml_tools.c"},"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"},{"deprecated":false,"digest":{"length":4405,"function_hash":"213363803951149469051614418590643215703"},"id":"CVE-2026-124030-bdedd883","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/1359c4da9329cedceeb8fcfeab6d97e0927236e1","target":{"function":"gf_sg_vrml_field_clone","file":"src/scenegraph/vrml_tools.c"}}]}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}