<?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-0208</id>
    <title>An update for libarchive is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2025-08-28 06:04:25"/>
    <updated date="2025-08-28 06:04:25"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-5918" id="CVE-2025-5918" title="CVE-2025-5918 Base Score: 3.9 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-5916" id="CVE-2025-5916" title="CVE-2025-5916 Base Score: 3.9 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-5914" id="CVE-2025-5914" title="CVE-2025-5914 Base Score: 9.8 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-5917" id="CVE-2025-5917" title="CVE-2025-5917 Base Score: 2.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

A vulnerability has been identified in the libarchive library. This flaw can be triggered when file streams are piped into bsdtar, potentially allowing for reading past the end of the file. This out-of-bounds read can lead to unintended consequences, including unpredictable program behavior, memory corruption, or a denial-of-service condition. (CVE-2025-5918)

A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive. (CVE-2025-5916)

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition. (CVE-2025-5914)

A vulnerability has been identified in the libarchive library. This flaw involves an _x27;off-by-one_x27; miscalculation when handling prefixes and suffixes for file names. This can lead to a 1-byte write overflow. While seemingly small, such an overflow can corrupt adjacent memory, leading to unpredictable program behavior, crashes, or in specific circumstances, could be leveraged as a building block for more sophisticated exploitation. (CVE-2025-5917)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="libarchive">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="bsdcat" version="3.5.2" release="1.r7.hce2">
          <filename>bsdcat-3.5.2-1.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="bsdcpio" version="3.5.2" release="1.r7.hce2">
          <filename>bsdcpio-3.5.2-1.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="bsdtar" version="3.5.2" release="1.r7.hce2">
          <filename>bsdtar-3.5.2-1.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libarchive" version="3.5.2" release="1.r7.hce2">
          <filename>libarchive-3.5.2-1.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libarchive-devel" version="3.5.2" release="1.r7.hce2">
          <filename>libarchive-devel-3.5.2-1.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="libarchive-help" version="3.5.2" release="1.r7.hce2">
          <filename>libarchive-help-3.5.2-1.r7.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="bsdcat" version="3.5.2" release="1.r7.hce2">
          <filename>bsdcat-3.5.2-1.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="bsdcpio" version="3.5.2" release="1.r7.hce2">
          <filename>bsdcpio-3.5.2-1.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="bsdtar" version="3.5.2" release="1.r7.hce2">
          <filename>bsdtar-3.5.2-1.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libarchive" version="3.5.2" release="1.r7.hce2">
          <filename>libarchive-3.5.2-1.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libarchive-devel" version="3.5.2" release="1.r7.hce2">
          <filename>libarchive-devel-3.5.2-1.r7.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
