First published: Tue Feb 18 2025(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
libxml2 | <2.12.10>2.13.0<=2.13.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-56171 has a high severity due to the potential for exploitation through crafted XML documents.
To fix CVE-2024-56171, upgrade libxml2 to version 2.12.10 or 2.13.6 or later.
CVE-2024-56171 affects libxml2 versions before 2.12.10 and 2.13.0 through 2.13.5.
Yes, CVE-2024-56171 can be exploited remotely if a vulnerable version processes untrusted XML documents.
Applications that use affected versions of libxml2 for XML processing and validation are at risk from CVE-2024-56171.