Critical Command Injection and Code Execution Vulnerabilities in Vim

vim Updated 13 Aug 2026

Summary

11/08/2026
N/A
Yes i
High
7.3

RLSA-2026:38509: Important: vim security update. Affects vim versions < 2:9.1.083-9.el10_2.7. Fixed in 2:9.1.083-9.el10_2.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Vim, short for Vi IMproved, is a highly configurable text editor built to enable efficient text editing. It is widely used by programmers and system administrators due to its powerful features, including syntax highlighting, multi-level undo, and support for plugins. However, recent vulnerabilities have exposed it to significant security risks, particularly through command injection and arbitrary code execution, which can be exploited by malicious actors.

Vulnerability Detail

The vulnerabilities identified in Vim include command injection when decompressing .tgz archives (CVE-2026-46483), arbitrary code execution via crafted directory names (CVE-2026-47162), and through Python omni-completion (CVE-2026-52858). Additionally, crafted step-definition patterns can also lead to arbitrary code execution (CVE-2026-47167). These vulnerabilities can allow attackers to execute arbitrary commands or code, potentially compromising the integrity and confidentiality of the system.

How To Fix

Minimum fixed version

2:9.1.083-9.el10_2.7

This is the first release that contains the fix.

sudo dnf update vim

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users are advised to avoid opening untrusted .tgz archives or using crafted directory names until the update is applied. Additionally, disabling Python omni-completion in Vim can mitigate the risk until the patch is installed.

Conclusion

The recent security update for Vim addresses critical vulnerabilities that could lead to command injection and arbitrary code execution. Users are strongly encouraged to update their Vim installations to the latest patched version to safeguard their systems against potential exploits.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

Vim is a text editor that enhances the capabilities of the original vi editor, providing advanced features for efficient text editing.

The main vulnerabilities include command injection and arbitrary code execution through various means, such as crafted directory names and Python omni-completion.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The CVSS score for these vulnerabilities is 7.3, indicating a high level of severity.

It is recommended to regularly check for updates and apply them promptly to ensure your software is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

2:9.1.083-9.el10_2.7

This is the first release that contains the fix.

sudo dnf update vim

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback