CVE-2024-56171

published 18 Feb 2025 · updated 19 Feb 2026

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.

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.12.10 and 2.13.6.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
xmlsoft<2.12.10, >=2.13.0 <2.13.62.12.10, 2.13.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56171 severity on Zeptric[![CVE-2024-56171](https://zeptric.io/badge/cve/CVE-2024-56171.svg)](https://zeptric.io/cve/CVE-2024-56171)