{"id":"CVE-2026-134668","summary":"GPAC MP4Box through 26.07.0 Use-After-Free in XMT Loader","details":"GPAC MP4Box through 26.07.0 contains a use-after-free vulnerability in the XMT scene loader that allows attackers to corrupt heap memory when xmt_node_end() discards an out-of-scope node without resetting command-buffer state. Attackers can supply a crafted XMT file that leaves parser-\u003ecommand_buffer and parser-\u003ecommand dangling, causing later parsing to access freed memory and crash MP4Box.","modified":"2026-11-22T04:00:09.454396525Z","published":"2026-11-22T02:02:54.237Z","database_specific":{"cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134668.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134668.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#L2522-L2526"},{"type":"ARTICLE","url":"https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L3193-L3197"},{"type":"ARTICLE","url":"https://github.com/gpac/gpac/blob/v26.07.0/src/scene_manager/loader_xmt.c#L3446-L3458"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/3e535640b48ed3218e74929cbf3e42250fce3ddf"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/5e620eff3bea16972dd948b2a153e416ffb1c81d"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3775"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3781"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3782"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3789"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3790"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/165/165_load_xmt_run_scene_manager_loader_xmt_c_3449.xmt"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/173/173_xmt_parse_command_scene_manager_loader_xmt_c_2525.xmt"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/182/182_xmt_node_start_scene_manager_loader_xmt_c_2770.xmt"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134668"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gpac-mp4box-through-26.07.0-use-after-free-in-xmt-loader"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"last_affected":"a07cbfff238a331233e11e916f9fb185d5da8604"},{"fixed":"5e620eff3bea16972dd948b2a153e416ffb1c81d"},{"fixed":"3e535640b48ed3218e74929cbf3e42250fce3ddf"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"26.07.0"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"5e620eff3bea16972dd948b2a153e416ffb1c81d"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3e535640b48ed3218e74929cbf3e42250fce3ddf"}]}]}}],"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-134668.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"}]}