Distro advisory · AmazonLinux 1
important priority package update for libxml2
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2025-24928: 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-2024-56171: 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.
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2025-1965sudo yum upgrade --advisory=ALAS-2025-1965rpm -q libxml2