Critical Vulnerability in Vim Packages: Arbitrary File Overwrite via Path Traversal

vim-X11 Updated 04 Jun 2026

Summary

03/06/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:22711: Moderate: vim security update. Affects vim-X11 versions < 2:9.1.083-9.el10_2.3. Fixed in 2:9.1.083-9.el10_2.3. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Vim (Vi IMproved) is a highly popular text editor known for its efficiency and versatility in programming and text editing. It offers various enhancements over the traditional vi editor, including syntax highlighting, multi-level undo, and extensive plugin support. However, a recent security vulnerability has been identified in the Vim zip.vim plugin, which could allow attackers to exploit the editor's functionality to overwrite arbitrary files on the system, posing a significant risk to users and their data.

Vulnerability Detail

The vulnerability arises from a path traversal bypass in the Vim zip.vim plugin, identified as CVE-2026-35177. This flaw allows an attacker to manipulate file paths in such a way that they can overwrite files outside of the intended directory. The ramifications of this vulnerability are severe, as it could lead to unauthorized access to sensitive files, data corruption, or system compromise. The technical details indicate that the flaw exists in how the plugin handles zip file paths, failing to properly sanitize user input.

How To Fix

Minimum fixed version

2:9.1.083-9.el10_2.3

This is the first release that contains the fix.

sudo dnf update vim-X11

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

Workaround

As a temporary workaround, users can disable the zip.vim plugin if it is not essential for their workflow. This can be done by commenting out or removing the relevant lines in the Vim configuration file that load the plugin.

Conclusion

In summary, the vulnerability in the Vim zip.vim plugin poses a significant risk due to its ability to allow arbitrary file overwriting. Users are strongly advised to update their Vim packages to the latest patched version to mitigate this risk. Additionally, temporary workarounds are available for those unable to update immediately.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

CVE-2026-35177 is the identifier for a security vulnerability in the Vim zip.vim plugin that allows arbitrary file overwriting through path traversal.

You can check if your Vim installation is affected by visiting the Vulert playground at Vulert Scanner, where you can analyze your manifest file for vulnerabilities.

The potential impacts include unauthorized file access, data corruption, and possible system compromise due to arbitrary file overwriting.

Yes, you can temporarily disable the zip.vim plugin as a workaround until you can apply the update.

More information can be found on the CVE page for CVE-2026-35177, which details the vulnerability and its implications.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

How To Fix

Minimum fixed version

2:9.1.083-9.el10_2.3

This is the first release that contains the fix.

sudo dnf update vim-X11

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