QID 355209

Date Published: 2023-05-29

QID 355209: Amazon Linux Security Advisory for libxml2 : ALAS2023-2023-096

Valid.c in libxml2 before 2.9.13 has a use-after-free of id and idref attributes. (
( CVE-2022-23308) a flaw was found in the libxml2 library in functions used to manipulate the xmlbuf and the xmlbuffer types.
A substantial input causes values to calculate buffer sizes to overflow, resulting in an out-of-bounds write. (
( CVE-2022-29824) 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 - 4.3 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-096 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355209

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-096 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-096.html