<?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>HCE2-SA-2025-0239</id>
    <title>An update for libxml2 is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2025-09-23 11:51:50"/>
    <updated date="2025-09-23 11:51:50"/>
    <references>
      <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-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-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"/>
    </references>
    <description>Security Fix(es):

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 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 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)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="libxml2">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="libxml2" version="2.9.12" release="5.r37.hce2">
          <filename>libxml2-2.9.12-5.r37.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libxml2-devel" version="2.9.12" release="5.r37.hce2">
          <filename>libxml2-devel-2.9.12-5.r37.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="libxml2-help" version="2.9.12" release="5.r37.hce2">
          <filename>libxml2-help-2.9.12-5.r37.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="python3-libxml2" version="2.9.12" release="5.r37.hce2">
          <filename>python3-libxml2-2.9.12-5.r37.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="libxml2" version="2.9.12" release="5.r37.hce2">
          <filename>libxml2-2.9.12-5.r37.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libxml2-devel" version="2.9.12" release="5.r37.hce2">
          <filename>libxml2-devel-2.9.12-5.r37.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="python3-libxml2" version="2.9.12" release="5.r37.hce2">
          <filename>python3-libxml2-2.9.12-5.r37.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
