{"id":"CVE-2026-130831","summary":"GPAC before 26.07.0 Use-After-Free via xmt_parse_element() DEF/USE Handling","details":"GPAC before 26.07.0 contains a use-after-free vulnerability in xmt_parse_element() that allows attackers to corrupt memory by supplying XMT-A elements that define and use the same node identifier. Attackers can craft an XMT scene file processed by MP4Box so xmt_text_content() accesses the freed node, crashing the process and possibly corrupting heap memory.","modified":"2026-11-18T01:06:22.099244448Z","published":"2026-11-17T19:47:55.279Z","database_specific":{"cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130831.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130831.json"},{"type":"PACKAGE","url":"https://github.com/gpac/gpac"},{"type":"ARTICLE","url":"https://github.com/gpac/gpac/blob/v26.02.0/src/scene_manager/loader_xmt.c#L1826-L1866"},{"type":"FIX","url":"https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522"},{"type":"REPORT","url":"https://github.com/gpac/gpac/issues/3620"},{"type":"ADVISORY","url":"https://github.com/gpac/gpac/releases/tag/v26.07.0"},{"type":"EVIDENCE","url":"https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/84/84_gf_node_get_tag_scenegraph_base_scenegraph_c_1268.xmt"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130831"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gpac-before-26.07.0-use-after-free-via-xmt-parse-element-def-use-handling"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gpac/gpac","events":[{"introduced":"0"},{"fixed":"a07cbfff238a331233e11e916f9fb185d5da8604"},{"fixed":"e87dff25aa91f9a52d8857b4d8558c93960c9522"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"26.07.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"e87dff25aa91f9a52d8857b4d8558c93960c9522"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"a07cbfff238a331233e11e916f9fb185d5da8604"}],"source":"REFERENCES_TAG","original_tag":"v26.07.0"}]}}],"versions":["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-130831.json","vanir_signatures":[{"id":"CVE-2026-130831-3b738534","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522","target":{"file":"src/scene_manager/loader_xmt.c","function":"load_xmt_done"},"deprecated":false,"digest":{"function_hash":"228158806356970517692482874137305869974","length":906}},{"signature_version":"v1","source":"https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522","target":{"file":"src/utils/xml_parser.c"},"deprecated":false,"digest":{"line_hashes":["35194711299123619477120960235779604970","277158391406906782796670407356280277111","8024310998413893314010819645600718020","98577035365448173341520575205827740914"],"threshold":0.9},"id":"CVE-2026-130831-538cd6e5","signature_type":"Line"},{"target":{"file":"src/scene_manager/loader_xmt.c","function":"xmt_parse_element"},"deprecated":false,"digest":{"function_hash":"299983762826278260705468736593496092731","length":13976},"id":"CVE-2026-130831-562ba4d2","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522"},{"id":"CVE-2026-130831-a82fc242","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522","target":{"file":"src/utils/xml_parser.c","function":"xml_sax_append_string"},"deprecated":false,"digest":{"length":620,"function_hash":"290400884842739865607934872054576628151"}},{"deprecated":false,"digest":{"function_hash":"286953592067224590121548523709573466070","length":10637},"id":"CVE-2026-130831-baef5ea7","signature_type":"Function","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522","target":{"file":"src/scene_manager/loader_xmt.c","function":"xmt_node_end"}},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522","target":{"file":"src/scene_manager/loader_xmt.c"},"deprecated":false,"digest":{"line_hashes":["255361147105191933536617895281319985768","143916938563134347981005230679061660323","335719652172944779127723924614386757522","12025484795253782216292217857156573371","275105436484247399364263385197003050754","93645829956651097309506635239429702184","166266485307551260289383162371072256891","314567180243990117047342690553948844181","130724925559313961570326758360705593005","102380937148549485900718306504268228689","93363392401629096826970711647934668393","318205828649018137617497593534966741236","153449347184458106122369766117522969689","203348813501213935325285655907581049993","86358104660102485328263644210458644270","252747545457447043267901769942614494273","105048564937052131611039937485206842489","234528761500153484219296633149932994640","18606882871976208221196261346752513107","89200571133821272561640324118158983974","6391491369749111280256660893993927601","100909314545905735765338732454207004527","200651953375956165072751947639627205836","177373808541998306042450157818646350278","16552656805709622911573750577199258455","330668280038550145969029941821001803275","92656948974402354214892787768127116859","99298331396800302964038399218743072087","234536749441221478274401431199286679099","172520753037630261522953249626068833395","321263183427280183282882208668651561993","144988761568840046414736475109223871834","283073049594653758609632266300394128701","44096889409319664629665527338516428822","295629122297484905660408187750690763412","38200432534258922205514595609934402221","70427449016585599551179472433172873406","283583228646757212069942633914848714471","301437447445885984597490858306684341678"],"threshold":0.9},"id":"CVE-2026-130831-e5ef6140"}],"vanir_signatures_modified":"2026-11-18T01:06:22Z"}}],"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"}]}