QID 354834

Date Published: 2023-03-23

QID 354834: Amazon Linux Security Advisory for libxml2 : ALAS2-2023-1996

An issue was discovered in libxml2 before 2.10.3.
When parsing a multi-gigabyte xml document with the xml_parse_huge parser option enabled, several integer counters can overflow.
This results in an attempt to access an array at a negative 2gb offset, typically leading to a segmentation fault. (
( CVE-2022-40303) an issue was discovered in libxml2 before 2.10.3.
Certain invalid xml entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors.
In one case, a double-free can be provoked. (
( CVE-2022-40304)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2023-1996 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 354834

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2023-1996 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2023-1996.html