Amazon Linux 1 Security Advisory: ALAS-2025-1965
Advisory Release Date: 2025-03-13 20:58 Pacific
Advisory Updated Date: 2025-03-17 15:45 Pacific
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. (CVE-2024-56171)
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047. (CVE-2025-24928)
Affected Packages:
libxml2
Issue Correction:
Run yum update libxml2 to update your system.
i686:
libxml2-python26-2.9.1-6.6.45.amzn1.i686
libxml2-python27-2.9.1-6.6.45.amzn1.i686
libxml2-2.9.1-6.6.45.amzn1.i686
libxml2-static-2.9.1-6.6.45.amzn1.i686
libxml2-debuginfo-2.9.1-6.6.45.amzn1.i686
libxml2-devel-2.9.1-6.6.45.amzn1.i686
src:
libxml2-2.9.1-6.6.45.amzn1.src
x86_64:
libxml2-debuginfo-2.9.1-6.6.45.amzn1.x86_64
libxml2-python27-2.9.1-6.6.45.amzn1.x86_64
libxml2-2.9.1-6.6.45.amzn1.x86_64
libxml2-devel-2.9.1-6.6.45.amzn1.x86_64
libxml2-python26-2.9.1-6.6.45.amzn1.x86_64
libxml2-static-2.9.1-6.6.45.amzn1.x86_64