<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
	<DocumentTitle xml:lang="en">An update for vim is now available for openEuler-24.03-LTS,openEuler-24.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS-SP3,openEuler-22.03-LTS-SP4</DocumentTitle>
	<DocumentType>Security Advisory</DocumentType>
	<DocumentPublisher Type="Vendor">
		<ContactDetails>openeuler-security@openeuler.org</ContactDetails>
		<IssuingAuthority>openEuler security committee</IssuingAuthority>
	</DocumentPublisher>
	<DocumentTracking>
		<Identification>
			<ID>openEuler-SA-2025-1231</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2025-02-28</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2025-02-28</InitialReleaseDate>
		<CurrentReleaseDate>2025-02-28</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2025-02-28</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">vim security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for vim is now available for openEuler-24.03-LTS,openEuler-24.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS-SP3,openEuler-22.03-LTS-SP4</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor &amp;apos;Vi&amp;apos;, with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Security Fix(es):

A vulnerability classified as problematic was found in vim up to 9.1.1096. This vulnerability affects unknown code of the file src/main.c. The manipulation of the argument --log leads to memory corruption. It is possible to launch the attack on the local host. Upgrading to version 9.1.1097 is able to address this issue. The patch is identified as c5654b84480822817bb7b69ebc97c174c91185e9. It is recommended to upgrade the affected component.(CVE-2025-1215)

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)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for vim is now available for openEuler-24.03-LTS,openEuler-24.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS-SP3,openEuler-22.03-LTS-SP4.

openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.</Note>
		<Note Title="Severity" Type="General" Ordinal="5" xml:lang="en">Medium</Note>
		<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">vim</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1231</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2025-1215</URL>
			<URL>https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2025-26603</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2025-1215</URL>
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2025-26603</URL>
		</Reference>
	</DocumentReferences>
	<ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
		<Branch Type="Product Name" Name="openEuler">
			<FullProductName ProductID="openEuler-24.03-LTS" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">openEuler-24.03-LTS</FullProductName>
			<FullProductName ProductID="openEuler-24.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">openEuler-24.03-LTS-SP1</FullProductName>
			<FullProductName ProductID="openEuler-20.03-LTS-SP4" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">openEuler-20.03-LTS-SP4</FullProductName>
			<FullProductName ProductID="openEuler-22.03-LTS-SP3" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">openEuler-22.03-LTS-SP3</FullProductName>
			<FullProductName ProductID="openEuler-22.03-LTS-SP4" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">openEuler-22.03-LTS-SP4</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="vim-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-9.0.2092-17.oe2403.src.rpm</FullProductName>
			<FullProductName ProductID="vim-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-9.0.2092-17.oe2403sp1.src.rpm</FullProductName>
			<FullProductName ProductID="vim-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-9.0-32.oe2003sp4.src.rpm</FullProductName>
			<FullProductName ProductID="vim-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-9.0-32.oe2203sp3.src.rpm</FullProductName>
			<FullProductName ProductID="vim-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-9.0-32.oe2203sp4.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="aarch64">
			<FullProductName ProductID="vim-X11-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-X11-9.0.2092-17.oe2403.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-common-9.0.2092-17.oe2403.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-debuginfo-9.0.2092-17.oe2403.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-debugsource-9.0.2092-17.oe2403.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-enhanced-9.0.2092-17.oe2403.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-minimal-9.0.2092-17.oe2403.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-X11-9.0.2092-17.oe2403sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-common-9.0.2092-17.oe2403sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-debuginfo-9.0.2092-17.oe2403sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-debugsource-9.0.2092-17.oe2403sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-enhanced-9.0.2092-17.oe2403sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-minimal-9.0.2092-17.oe2403sp1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-X11-9.0-32.oe2003sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-common-9.0-32.oe2003sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-debuginfo-9.0-32.oe2003sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-debugsource-9.0-32.oe2003sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-enhanced-9.0-32.oe2003sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-minimal-9.0-32.oe2003sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-X11-9.0-32.oe2203sp3.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-common-9.0-32.oe2203sp3.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-debuginfo-9.0-32.oe2203sp3.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-debugsource-9.0-32.oe2203sp3.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-enhanced-9.0-32.oe2203sp3.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-minimal-9.0-32.oe2203sp3.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-X11-9.0-32.oe2203sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-common-9.0-32.oe2203sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-debuginfo-9.0-32.oe2203sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-debugsource-9.0-32.oe2203sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-enhanced-9.0-32.oe2203sp4.aarch64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-minimal-9.0-32.oe2203sp4.aarch64.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="x86_64">
			<FullProductName ProductID="vim-X11-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-X11-9.0.2092-17.oe2403.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-common-9.0.2092-17.oe2403.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-debuginfo-9.0.2092-17.oe2403.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-debugsource-9.0.2092-17.oe2403.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-enhanced-9.0.2092-17.oe2403.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-minimal-9.0.2092-17.oe2403.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-X11-9.0.2092-17.oe2403sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-common-9.0.2092-17.oe2403sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-debuginfo-9.0.2092-17.oe2403sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-debugsource-9.0.2092-17.oe2403sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-enhanced-9.0.2092-17.oe2403sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-minimal-9.0.2092-17.oe2403sp1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-X11-9.0-32.oe2003sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-common-9.0-32.oe2003sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-debuginfo-9.0-32.oe2003sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-debugsource-9.0-32.oe2003sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-enhanced-9.0-32.oe2003sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-minimal-9.0-32.oe2003sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-X11-9.0-32.oe2203sp3.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-common-9.0-32.oe2203sp3.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-debuginfo-9.0-32.oe2203sp3.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-debugsource-9.0-32.oe2203sp3.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-enhanced-9.0-32.oe2203sp3.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-minimal-9.0-32.oe2203sp3.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-X11-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-X11-9.0-32.oe2203sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-common-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-common-9.0-32.oe2203sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debuginfo-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-debuginfo-9.0-32.oe2203sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-debugsource-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-debugsource-9.0-32.oe2203sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-enhanced-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-enhanced-9.0-32.oe2203sp4.x86_64.rpm</FullProductName>
			<FullProductName ProductID="vim-minimal-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-minimal-9.0-32.oe2203sp4.x86_64.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="noarch">
			<FullProductName ProductID="vim-filesystem-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS">vim-filesystem-9.0.2092-17.oe2403.noarch.rpm</FullProductName>
			<FullProductName ProductID="vim-filesystem-9.0.2092-17" CPE="cpe:/a:openEuler:openEuler:24.03-LTS-SP1">vim-filesystem-9.0.2092-17.oe2403sp1.noarch.rpm</FullProductName>
			<FullProductName ProductID="vim-filesystem-9.0-32" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP4">vim-filesystem-9.0-32.oe2003sp4.noarch.rpm</FullProductName>
			<FullProductName ProductID="vim-filesystem-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP3">vim-filesystem-9.0-32.oe2203sp3.noarch.rpm</FullProductName>
			<FullProductName ProductID="vim-filesystem-9.0-32" CPE="cpe:/a:openEuler:openEuler:22.03-LTS-SP4">vim-filesystem-9.0-32.oe2203sp4.noarch.rpm</FullProductName>
		</Branch>
	</ProductTree>
	<Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">A vulnerability classified as problematic was found in vim up to 9.1.1096. This vulnerability affects unknown code of the file src/main.c. The manipulation of the argument --log leads to memory corruption. It is possible to launch the attack on the local host. Upgrading to version 9.1.1097 is able to address this issue. The patch is identified as c5654b84480822817bb7b69ebc97c174c91185e9. It is recommended to upgrade the affected component.</Note>
		</Notes>
		<ReleaseDate>2025-02-28</ReleaseDate>
		<CVE>CVE-2025-1215</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-24.03-LTS</ProductID>
				<ProductID>openEuler-24.03-LTS-SP1</ProductID>
				<ProductID>openEuler-20.03-LTS-SP4</ProductID>
				<ProductID>openEuler-22.03-LTS-SP3</ProductID>
				<ProductID>openEuler-22.03-LTS-SP4</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Low</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>2.8</BaseScore>
				<Vector>AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>vim security update</Description>
				<DATE>2025-02-28</DATE>
				<URL>https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1231</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
	<Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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.</Note>
		</Notes>
		<ReleaseDate>2025-02-28</ReleaseDate>
		<CVE>CVE-2025-26603</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-24.03-LTS</ProductID>
				<ProductID>openEuler-24.03-LTS-SP1</ProductID>
				<ProductID>openEuler-20.03-LTS-SP4</ProductID>
				<ProductID>openEuler-22.03-LTS-SP3</ProductID>
				<ProductID>openEuler-22.03-LTS-SP4</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Medium</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>4.2</BaseScore>
				<Vector>AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>vim security update</Description>
				<DATE>2025-02-28</DATE>
				<URL>https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2025-1231</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>