Skip to content
OpenAdvisories
Medium ALAS2-2026-3940 7 CVEs

Moderate: libxml2 security update (Amazon Linux 2)

Published Sep 28, 2026 · Updated Sep 28, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-86144: In xinclude in libxml2 before 2.15.4, xmlXIncludeProcess and xmlXIncludeProcessTree do not propagate parseFlags. This has security relevance for, for example, the XML_PARSE_NONET flag, if (without it) a custom resource loader accesses the internet and triggers XML external entity injection, SSRF, or a denial of service (e.g., for an attacker-controlled internet resource that is intentionally slow). CVE-2026-86143: In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling writecallback. This has security relevance for many types of uses of that length value within a callback. CVE-2026-86142: In libxml2 before 2.15.4, there is a heap-based buffer overflow in xmlXPtrEvalXPtrPart because of xmlXPtrEval xpointer length saturation. CVE-2026-86140: In libxml2 before 2.15.4, xmlSnprintfElements in valid.c has a strcat stack-based buffer overflow. CVE-2026-86138: In libxml2 before 2.15.4, xmlDictAddQString in dict.c has an integer overflow and resultant heap-based buffer overflow. CVE-2026-86137: In libxml2 before 2.15.4, xmlFAParsePosCharGroup has an out-of-bounds read, aka an out-of-bounds read in the NXT macro in xmlregexp. CVE-2026-74860: A flaw was found in libxml2 with Python bindings enabled. A remote attacker could exploit this vulnerability by providing a specially crafted XML document containing a Document Type Definition (DTD) with enumerated attribute values. This triggers a double-free error in the SAX attributeDecl callback handler, where a string is freed twice. This flaw can lead to a denial of service (DoS) due to a reproducible crash in Python applications using the libxml2 SAX bindings.

Fixed packages 5

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

Vulnerabilities 7

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-74860.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-86137.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-86138.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-86140.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-86142.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-86143.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-86144.html