CVE-2024-56171
MediumSummary
In libxml2 before 2.12.10 and 2.13.6, a use-after-free exists in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. Exploitation requires validation of a crafted XML document against an XML schema with identity constraints or a crafted schema.
Risk Assessment
An attacker could crash the application or potentially execute arbitrary code by providing a specially crafted XML document.
Recommendation
Update libxml2 to version 2.12.10, 2.13.6, or later.
Original NVD description (English source)
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used

