CVE-2026-130792
Description
GPAC before 26.07.0 contains an integer underflow in gf_xml_sax_parse_intern() in src/utils/xml_parser.c that causes a heap-based buffer overflow when completing partially buffered entities. Attackers can convince a user to process a crafted XML or XMT file with MP4Box, overflowing xml_sax_append_string() size arithmetic to corrupt heap memory and crash the process.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gpac | gpac | {"endExcluding":"26.07.0"} | 26.07.0 |
References
- https://github.com/gpac/gpac/blob/v26.02.0/src/utils/xml_parser.c#L1040-L1069
- https://github.com/gpac/gpac/blob/v26.02.0/src/utils/xml_parser.c#L1043-L1068
- https://github.com/gpac/gpac/blob/v26.02.0/src/utils/xml_parser.c#L977-L998
- https://github.com/gpac/gpac/commit/6f54ff86b2fdc045d6a683b93f9ced8928d8b35c
- https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522
- https://github.com/gpac/gpac/issues/3615
- https://github.com/gpac/gpac/issues/3645
- https://github.com/gpac/gpac/issues/3646
- https://github.com/gpac/gpac/releases/tag/v26.07.0
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/79/79_xml_sax_append_string_xml_parser_c_993.xml
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/86/86_xml_sax_swap_utils_xml_parser_c_214
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-heap-buffer-overflow-via-xml-sax-parser-entity-handling
CWEs
CWE-191
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.