Skip to content
OpenAdvisories
High ALAS2-2025-2794 3 CVEs

Important: libxml2 security update (Amazon Linux 2)

Published Mar 13, 2025 · Updated Mar 25, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-27113: libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c. 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.

Fixed packages 5

ReleasePackageFixed in
Amazon Linux · 2 libxml2 0:2.9.1-6.amzn2.5.16
Amazon Linux · 2 libxml2-debuginfo 0:2.9.1-6.amzn2.5.16
Amazon Linux · 2 libxml2-devel 0:2.9.1-6.amzn2.5.16
Amazon Linux · 2 libxml2-python 0:2.9.1-6.amzn2.5.16
Amazon Linux · 2 libxml2-static 0:2.9.1-6.amzn2.5.16

Vulnerabilities 3

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-56171.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-24928.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-27113.html