Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-55895

published medium CVSS 4.0 · 5.7

Vim: Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename

Published
25 Jun 2026, 15:31:29 UTC
Updated
26 Jun 2026, 03:55:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
vim — vim< 9.2.0663 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2026-3804 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1940 Fixed Not stated Amazon Linux assessment
Alpine Linux edge vim Fixed 9.2.0663-r0 Package fix record
Debian trixie vim Advisory build 2:9.1.1230-2+deb13u1 DSA-6600-1
Ubuntu bionic vim Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Amazon Linux AL2 vimaarch64 Listed in advisory Not stated ALAS2-2026-3804
Alpine Linux v3.23 vim Fixed 9.2.0854-r0 Package fix record
Show 83 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.24 vim Fixed 9.2.0663-r0 Package fix record
Ubuntu focal vim Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu jammy vim Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu noble vim Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu questing vim Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu resolute vim Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu xenial vim Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu bionic vim-athena Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-common Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-gnome Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-gtk Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-gtk3 Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-gui-common Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-nox Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-runtime Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic vim-tiny Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu bionic xxd Advisory build 2:8.0.1453-1ubuntu1.13+esm21 USN-8500-1
Ubuntu focal vim-athena Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal vim-common Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal vim-gtk Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal vim-gtk3 Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal vim-gui-common Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal vim-nox Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal vim-runtime Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal vim-tiny Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu focal xxd Advisory build 2:8.1.2269-1ubuntu5.32+esm9 USN-8500-1
Ubuntu jammy vim-athena Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy vim-common Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy vim-gtk Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy vim-gtk3 Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy vim-gui-common Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy vim-nox Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy vim-runtime Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy vim-tiny Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu jammy xxd Advisory build 2:8.2.3995-1ubuntu2.33 USN-8500-1
Ubuntu noble vim-athena Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble vim-common Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble vim-gtk3 Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble vim-gui-common Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble vim-motif Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble vim-nox Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble vim-runtime Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble vim-tiny Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu noble xxd Advisory build 2:9.1.0016-1ubuntu7.17 USN-8500-1
Ubuntu questing vim-athena Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing vim-common Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing vim-gtk3 Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing vim-gui-common Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing vim-motif Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing vim-nox Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing vim-runtime Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing vim-tiny Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu questing xxd Advisory build 2:9.1.0967-1ubuntu6.8 USN-8500-1
Ubuntu resolute vim-common Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu resolute vim-gtk3 Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu resolute vim-gui-common Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu resolute vim-motif Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu resolute vim-nox Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu resolute vim-runtime Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu resolute vim-tiny Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu resolute xxd Advisory build 2:9.1.2141-1ubuntu4.6 USN-8500-1
Ubuntu xenial vim-athena Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-athena-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-common Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-gnome Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-gnome-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-gtk Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-gtk-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-gtk3 Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-gtk3-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-gui-common Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-nox Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-nox-py2 Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-runtime Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Ubuntu xenial vim-tiny Advisory build 2:7.4.1689-3ubuntu1.5+esm36 USN-8500-1
Amazon Linux AL2 vimi686 Listed in advisory Not stated ALAS2-2026-3804
Amazon Linux AL2 vimnoarch Listed in advisory Not stated ALAS2-2026-3804
Amazon Linux AL2 vimsrc Listed in advisory Not stated ALAS2-2026-3804
Amazon Linux AL2 vimx86_64 Listed in advisory Not stated ALAS2-2026-3804
Amazon Linux AL2023 vimaarch64 Listed in advisory Not stated ALAS2023-2026-1940
Amazon Linux AL2023 vimnoarch Listed in advisory Not stated ALAS2023-2026-1940
Amazon Linux AL2023 vimsrc Listed in advisory Not stated ALAS2023-2026-1940
Amazon Linux AL2023 vimx86_64 Listed in advisory Not stated ALAS2023-2026-1940

Description

Vim is an open source, command line text editor. Prior to 9.2.0663, a Vimscript code injection vulnerability exists in s:NetrwLocalRmFile() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when deleting a local file from the browser. A filename derived from the buffer's directory listing is interpolated into an Ex command line passed to :execute with only the backslash character escaped, allowing a crafted filename containing a bar (|) to terminate the intended command and execute arbitrary Vimscript, including shell commands via :call system() and :!. This vulnerability is fixed in 9.2.0663.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.7 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
vim vim < 9.2.0663 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (GitHub_M · cna)
  • CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

Vim: Vimscript Code Injection in netrw NetrwLocalRmFile() via crafted filename

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0108c16bcfdddcb216a6ed02cd77cf278ed57271d89ea3e974324205098ad809
Ingested
23 Sep 2026, 09:21:01 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected