CVE-2026-42307

Publication date 8 May 2026

Last updated 27 May 2026


Ubuntu priority

Cvss 3 Severity Score

4.4 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
vim 26.04 LTS resolute
Fixed in 2:9.1.2141-1ubuntu4.2
25.10 questing
Fixed in 2:9.1.0967-1ubuntu6.5
24.04 LTS noble
Fixed in 2:9.1.0016-1ubuntu7.14
22.04 LTS jammy
Fixed in 2:8.2.3995-1ubuntu2.30
20.04 LTS focal
Fixed in 2:8.1.2269-1ubuntu5.32+esm5
18.04 LTS bionic
Fixed in 2:8.0.1453-1ubuntu1.13+esm17
16.04 LTS xenial
Fixed in 2:7.4.1689-3ubuntu1.5+esm32
14.04 LTS trusty
Fixed in 2:7.4.052-1ubuntu3.1+esm26

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v3.0

Base score 4.4 · Medium

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


Access our resources on patching vulnerabilities