Critical Security Vulnerability in vim Package: Update Required

vim Updated 02 Oct 2025

Summary

16/09/2024
N/A
Yes i
High
7.8

RHSA-2022:0894: Red Hat Security Advisory: vim security update. Affects vim versions < 2:8.0.1763-16.el8_5.12. Fixed in 2:8.0.1763-16.el8_5.12. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vim package is a highly configurable text editor used for efficient text editing and programming. It is widely utilized in various operating systems, including Red Hat Enterprise Linux. The package offers features such as syntax highlighting, multi-level undo, and a powerful search and replace functionality. However, a recent security vulnerability has been identified that could potentially expose systems to significant risks if not addressed promptly.

Vulnerability Detail

The vulnerability in the vim package stems from improper handling of certain inputs, which could allow an attacker to execute arbitrary code or cause a denial of service. This issue can be exploited through crafted files or commands, leading to unauthorized access or system crashes. The vulnerability has been assigned a CVSS score of 7.8, indicating a high severity level, and it affects multiple components of the vim package, including vim-X11, vim-common, and vim-enhanced.

How To Fix

Minimum fixed version

2:8.0.1763-16.el8_5.12

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 workaround, users can avoid opening untrusted files or executing commands that may exploit this vulnerability until the package is updated. Additionally, consider using alternative text editors that do not have this vulnerability.

Conclusion

The identified vulnerability in the vim package poses a significant risk to users and systems. It is crucial to update to the patched version promptly to mitigate potential threats. Users are encouraged to monitor their systems for vulnerabilities using tools like Vulert, which can provide real-time alerts without requiring code access.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

The vulnerability allows for arbitrary code execution or denial of service due to improper input handling.

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

The CVSS score of this vulnerability is 7.8, indicating a high severity level.

Yes, avoid opening untrusted files or executing potentially harmful commands until the package is updated.

Use the command 'sudo dnf update vim' to update the vim package to the patched version.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

2:8.0.1763-16.el8_5.12

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