Description
GPAC before 26.07.0 contains a type confusion vulnerability in xmt_parse_script_field() that allows attackers to trigger a heap out-of-bounds read via duplicate Script field names with conflicting types. Attackers can craft an XMT file that, when imported with MP4Box, causes gf_sg_vrml_mf_reset() to treat a single-value field as multi-value, crashing the application.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
gpac gpac
Default version status: unaffected
0 to < 26.07.0affected
pkg:github/gpac/gpacReferences
- https://github.com/gpac/gpac/issues/3693 ↗
- https://github.com/gpac/gpac/commit/3947eb18e140f37149ecc3b6a0a469c03eaf682d ↗
- https://github.com/gpac/gpac/releases/tag/v26.07.0 ↗
- https://github.com/gpac/gpac/blob/v26.02.0/src/scene_manager/loader_xmt.c#L1395-L1410 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/127/127_gf_sg_vrml_mf_reset_scenegraph_vrml_tools_c_1122 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-type-confusion-via-xmt-parse-script-field ↗