ALAS-2025-896


Amazon Linux 2023 Security Advisory: ALAS-2025-896
Advisory Release Date: 2025-03-13 04:48 Pacific
Advisory Updated Date: 2025-03-13 04:48 Pacific
Severity: Important

Issue Overview:

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)

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-27113)


Affected Packages:

libxml2


Issue Correction:
Run dnf update libxml2 --releasever 2023.6.20250317 to update your system.

New Packages:
aarch64:
    libxml2-debugsource-2.10.4-1.amzn2023.0.9.aarch64
    python3-libxml2-debuginfo-2.10.4-1.amzn2023.0.9.aarch64
    libxml2-static-2.10.4-1.amzn2023.0.9.aarch64
    libxml2-debuginfo-2.10.4-1.amzn2023.0.9.aarch64
    python3-libxml2-2.10.4-1.amzn2023.0.9.aarch64
    libxml2-devel-2.10.4-1.amzn2023.0.9.aarch64
    libxml2-2.10.4-1.amzn2023.0.9.aarch64

src:
    libxml2-2.10.4-1.amzn2023.0.9.src

x86_64:
    libxml2-debugsource-2.10.4-1.amzn2023.0.9.x86_64
    libxml2-static-2.10.4-1.amzn2023.0.9.x86_64
    python3-libxml2-debuginfo-2.10.4-1.amzn2023.0.9.x86_64
    libxml2-debuginfo-2.10.4-1.amzn2023.0.9.x86_64
    python3-libxml2-2.10.4-1.amzn2023.0.9.x86_64
    libxml2-2.10.4-1.amzn2023.0.9.x86_64
    libxml2-devel-2.10.4-1.amzn2023.0.9.x86_64