CVE & CISA-KEV Catalog

CVE-2026-42307

MEDIUM
4.4
CVSS v3
NVD

Description

Vim is an open source, command line text editor. Prior to version 9.2.0383, an OS command injection vulnerability exists in the netrw standard plugin bundled with Vim. By inducing a user to open a crafted URL (e.g., using the sftp:// or file:// protocol handlers), an attacker can execute arbitrary shell commands with the privileges of the Vim process. This issue has been patched in version 9.2.0383.

How to fix

Remediation Available
vimDebian
Fixed in:2:9.2.0428-1CVE-2026-42307
vimUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-athenaUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-athena-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
vim-commonUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-gnomeUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
vim-gnome-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
vim-gtkUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
vim-gtk-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
vim-gtk3Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-gtk3-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
vim-gui-commonUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-lesstifUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
vim-motifUbuntu
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-noxUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-nox-py2Ubuntu
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
vim-runtimeUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
vim-tinyUbuntu
Fixed in:2:7.4.052-1ubuntu3.1+esm26USN-8304-1
Fixed in:2:7.4.1689-3ubuntu1.5+esm32USN-8304-1
Fixed in:2:8.0.1453-1ubuntu1.13+esm17USN-8304-1
Fixed in:2:8.1.2269-1ubuntu5.32+esm5USN-8304-1
Fixed in:2:8.2.3995-1ubuntu2.30USN-8304-1
Fixed in:2:9.1.0016-1ubuntu7.14USN-8304-1
Fixed in:2:9.1.0967-1ubuntu6.5USN-8304-1
VimWindows application
Affected:9.2.0383Fixed in:9.2.0383Bram Moolenaar et al.

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Exploit Intelligence

0.77%probability of exploitation in 30 days
51stpercentile

Moderate risk: more likely to be exploited than 51% of all known CVEs.

References

Related Vulnerabilities

Other CWE-78 (OS Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2014-6271Critical9.8100%KEVFix
CVE-2019-16920Critical9.8100%KEV-
CVE-2022-44877Critical9.8100%KEVFix
CVE-2020-8515Critical9.8100%KEV-
CVE-2020-9054Critical9.8100%KEVFix
Embed a live status badge for CVE-2026-42307
CVE-2026-42307 severity badge

Markdown

[![CVE-2026-42307](https://tridentstack.com/cve/badge/CVE-2026-42307.svg)](https://tridentstack.com/cve/CVE-2026-42307)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-42307"><img src="https://tridentstack.com/cve/badge/CVE-2026-42307.svg" alt="CVE-2026-42307"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-14.