<?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-0204</id>
    <title>An update for vim is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2025-06-25 17:09:25"/>
    <updated date="2025-06-25 17:09:25"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2025-26603" id="CVE-2025-26603" title="CVE-2025-26603 Base Score: 4.2 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L" type="cve"/>
    </references>
    <description>Security Fix(es):

Vim is a greatly improved version of the good old UNIX editor Vi. Vim allows to redirect screen messages using the `:redir` ex command to register, variables and files. It also allows to show the contents of registers using the `:registers` or `:display` ex command. When redirecting the output of `:display` to a register, Vim will free the register content before storing the new content in the register. Now when redirecting the `:display` command to a register that is being displayed, Vim will free the content while shortly afterwards trying to access it, which leads to a use-after-free. Vim pre 9.1.1115 checks in the ex_display() function, that it does not try to redirect to a register while displaying this register at the same time. However this check is not complete, and so Vim does not check the `+` and `*` registers (which typically donate the X11/clipboard registers, and when a clipboard connection is not possible will fall back to use register 0 instead. In Patch 9.1.1115 Vim will therefore skip outputting to register zero when trying to redirect to the clipboard registers `*` or `+`. Users are advised to upgrade. There are no known workarounds for this vulnerability. (CVE-2025-26603)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="vim">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="vim-common" version="9.0" release="1.r34.hce2">
          <filename>vim-common-9.0-1.r34.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="vim-enhanced" version="9.0" release="1.r34.hce2">
          <filename>vim-enhanced-9.0-1.r34.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="vim-filesystem" version="9.0" release="1.r34.hce2">
          <filename>vim-filesystem-9.0-1.r34.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="vim-minimal" version="9.0" release="1.r34.hce2">
          <filename>vim-minimal-9.0-1.r34.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="vim-common" version="9.0" release="1.r34.hce2">
          <filename>vim-common-9.0-1.r34.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="vim-enhanced" version="9.0" release="1.r34.hce2">
          <filename>vim-enhanced-9.0-1.r34.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="vim-minimal" version="9.0" release="1.r34.hce2">
          <filename>vim-minimal-9.0-1.r34.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
