{"id":"CVE-2026-134662","summary":"GPAC MP4Box through 26.07.0 Double Free via gf_sg_sfcommand_del","details":"GPAC MP4Box through 26.07.0 contains a double free vulnerability in the XMT-A scene loader that leaves a stale GF_Command pointer in a Conditional node's SFCommandBuffer when the buffer element is not properly closed. Attackers can persuade users to process a crafted XMT file with malformed nesting, causing gf_sg_sfcommand_del() to free the live command, corrupting heap memory and crashing the process.","modified":"2026-11-22T04:00:18.275974429Z","published":"2026-11-22T02:03:05.013Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134662.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-415"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134662.json"},{"type":"PACKAGE","url":"https://github.com/gpac/gpac"},{"type":"ARTICLE","url":"https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L1908-L1920"},{"type":"ARTICLE","url":"https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/base_scenegraph.c#L197-L203"},{"type":"ARTICLE","url":"https://github.com/gpac/gpac/blob/v26.07.0/src/scenegraph/vrml_tools.c#L620-L629"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddf"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/5e620eff3bea16972dd948b2a153e416ffb1c81d"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/6fc2832ba83467bbf89349395e89de1353ab5b77"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3766"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3767"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3773"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3774"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3788"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3837"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/156/156_gf_sg_sfcommand_del_scenegraph_vrml_tools_c_628.xmt"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/180/180_gf_sg_del_scenegraph_base_scenegraph_c_202.xmt"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/191/191_gf_sg_sfcommand_del_scenegraph_vrml_tools_c_632"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134662"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-double-free-via-gf-sg-sfcommand-del"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"last_affected":"a07cbfff238a331233e11e916f9fb185d5da8604"},{"fixed":"5e620eff3bea16972dd948b2a153e416ffb1c81d"},{"fixed":"3e535640b48ed3218e74929cbf3e42250fce3ddf"},{"fixed":"6fc2832ba83467bbf89349395e89de1353ab5b77"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"26.07.0"}]},{"range":[{"fixed":"5e620eff3bea16972dd948b2a153e416ffb1c81d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"3e535640b48ed3218e74929cbf3e42250fce3ddf"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"6fc2832ba83467bbf89349395e89de1353ab5b77"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["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":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134662.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"}]}