<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE3-SA-2025-0093</id>
    <title>An update for libxml2 is now available for HCE 3.0</title>
    <severity>Critical</severity>
    <release>HCE 3.0</release>
    <issued date="2025-10-09 06:38:17"/>
    <updated date="2025-10-09 06:38:17"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-49796" id="CVE-2025-49796" title="CVE-2025-49796 Base Score: 9.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-49794" id="CVE-2025-49794" title="CVE-2025-49794 Base Score: 9.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-6170" id="CVE-2025-6170" title="CVE-2025-6170 Base Score: 2.5 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-24928" id="CVE-2025-24928" title="CVE-2025-24928 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-40896" id="CVE-2024-40896" title="CVE-2024-40896 Base Score: 9.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-32415" id="CVE-2025-32415" title="CVE-2025-32415 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-49795" id="CVE-2025-49795" title="CVE-2025-49795 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-6021" id="CVE-2025-6021" title="CVE-2025-6021 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-27113" id="CVE-2025-27113" title="CVE-2025-27113 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-56171" id="CVE-2024-56171" title="CVE-2024-56171 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-32414" id="CVE-2025-32414" title="CVE-2025-32414 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A vulnerability was found in libxml2. Processing certain sch:name elements from the input XML file can trigger a memory corruption issue. This flaw allows an attacker to craft a malicious XML input file that can lead libxml to crash, resulting in a denial of service or other possible undefined behavior due to sensitive data being corrupted in memory. (CVE-2025-49796)

A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the &lt;sch:name path=&quot;...&quot;/&gt; schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program_x27;s crash using libxml or other possible undefined behaviors. (CVE-2025-49794)

A flaw was found in the interactive shell of the xmllint command-line tool, used for parsing XML files. When a user inputs an overly long command, the program does not check the input size properly, which can cause it to crash. This issue might allow attackers to run harmful code in rare configurations without modern protections. (CVE-2025-6170)

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)

In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting &quot;checked&quot;). This makes classic XXE attacks possible. (CVE-2024-40896)

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. 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-2025-32415)

A NULL pointer dereference vulnerability was found in libxml2 when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input to libxml2, leading to a denial of service. (CVE-2025-49795)

A flaw was found in libxml2_x27;s xmlBuildQName function, where integer overflows in buffer size calculations can lead to a stack-based buffer overflow. This issue can result in memory corruption or a denial of service when processing crafted input. (CVE-2025-6021)

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)

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)

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, out-of-bounds memory access can occur in the Python API (Python bindings) because of an incorrect return value. This occurs in xmlPythonFileRead and xmlPythonFileReadRaw because of a difference between bytes and characters. (CVE-2025-32414)
</description>
    <pkglist>
      <collection short="HCE 3.0" package="libxml2">
        <name>HCE 3.0</name>
        <package arch="x86_64" name="libxml2" version="2.11.9" release="1.r8.hce3">
          <filename>libxml2-2.11.9-1.r8.hce3.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libxml2-devel" version="2.11.9" release="1.r8.hce3">
          <filename>libxml2-devel-2.11.9-1.r8.hce3.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="libxml2-help" version="2.11.9" release="1.r8.hce3">
          <filename>libxml2-help-2.11.9-1.r8.hce3.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-libxml2" version="2.11.9" release="1.r8.hce3">
          <filename>python3-libxml2-2.11.9-1.r8.hce3.x86_64.rpm</filename>
        </package>
        <package arch="aarch64" name="libxml2" version="2.11.9" release="1.r8.hce3">
          <filename>libxml2-2.11.9-1.r8.hce3.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libxml2-devel" version="2.11.9" release="1.r8.hce3">
          <filename>libxml2-devel-2.11.9-1.r8.hce3.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-libxml2" version="2.11.9" release="1.r8.hce3">
          <filename>python3-libxml2-2.11.9-1.r8.hce3.aarch64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
