CVE-2026-130792: GPAC before 26.07.0 Heap Buffer Overflow via XML SAX Parser Entity Handling
GPAC before 26.07.0 contains an integer underflow in gfxmlsaxparseintern() in src/utils/xmlparser.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 xmlsaxappendstring() size arithmetic to corrupt heap memory and crash the process.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Users of GPAC versions before 26.07.0 who use MP4Box to process XML or XMT files are exposed. Exploitation requires convincing a user to process a crafted file.
Does exploitation require prior access or elevated privileges?
No prior privileges are required, but user interaction is required. The attacker needs the user to process a malicious XML or XMT file with MP4Box.
What is the impact of a successful exploit?
The crafted input can trigger heap memory corruption and crash the MP4Box process. The reported issue is a heap-based buffer overflow caused by integer-underflow-related size arithmetic during XML SAX entity handling.
What should be done if patching is not immediately possible?
Avoid processing untrusted XML and XMT files with MP4Box until GPAC can be updated. Limit processing to files from trusted sources.