CVE-2026-130792
GPAC before 26.07.0 Heap Buffer Overflow via XML SAX Parser Entity Handling
Medium · 6.9Fix available
- CVSS
- 6.9
- EPSS
- 0.19% (p9)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-19
- Product
- gpac gpac
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
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.
Fixed in
26.07.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | gpac | >=0, <26.07.0 | 26.07.0 |
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 19d ago · CC-BY 4.0
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/gpac/gpac/issues/3615 issue-tracking
- https://github.com/gpac/gpac/issues/3646 issue-tracking
- https://github.com/gpac/gpac/commit/e87dff25aa91f9a52d8857b4d8558c93960c9522 patch
- https://github.com/gpac/gpac/commit/6f54ff86b2fdc045d6a683b93f9ced8928d8b35c patch
- https://github.com/gpac/gpac/releases/tag/v26.07.0 release-notes
- https://github.com/gpac/gpac/blob/v26.02.0/src/utils/xml_parser.c#L1040-L1069 technical-description
- https://github.com/gpac/gpac/blob/v26.02.0/src/utils/xml_parser.c#L977-L998 technical-description
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/79/79_xml_sax_append_string_xml_parser_c_993.xml exploit
- https://github.com/gpac/gpac/issues/3645 issue-tracking
- https://github.com/gpac/gpac/blob/v26.02.0/src/utils/xml_parser.c#L1043-L1068 technical-description
- https://github.com/sigdevel/pocs/blob/main/res/gpac/MP4Box/86/86_xml_sax_swap_utils_xml_parser_c_214 exploit
- https://www.vulncheck.com/advisories/gpac-before-26.07.0-heap-buffer-overflow-via-xml-sax-parser-entity-handling third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130792.json advisory
- https://github.com/gpac/gpac package
- https://nvd.nist.gov/vuln/detail/CVE-2026-130792 advisory