All reports
High

libxml2: Use-After-Free in libxml2

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-56171

Probability of exploitation in the next 30 days: 1.18%

FIRST EPSS · 2026-11-19

Description

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.

A flaw was found in libxml2. This vulnerability allows a use-after-free via a crafted XML document validated against an XML schema with certain identity constraints or a crafted XML schema.