Description
GPAC before 26.07.0 contains an integer underflow vulnerability in gf_xml_sax_peek_node() that allows attackers to write a zero byte outside the heap line buffer via crafted XML attribute values. Attackers can supply a crafted XMT file with a ROUTE or command referencing an undefined node, imported with MP4Box, to crash the process and corrupt memory.
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/3694 ↗
- 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/utils/xml_parser.c#L1585-L1600 ↗
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/128/128_gf_xml_sax_peek_node_utils_xml_parser_c_1600 ↗
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-integer-underflow-out-of-bounds-write-in-gf-xml-sax-peek-node ↗