GPAC before 26.07.0 Heap Buffer Overflow via XML SAX Parser Entity Handling

State
Published
Severity
6.9 Medium
Published
Nov 17, 2026
Updated
Nov 17, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

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.

ProductVersions
gpac gpacbefore 26.07.0 Affected

Weaknesses

  • CWE-191 Integer Underflow (Wrap or Wraparound)

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.