Critical Security Vulnerability in vim Package: Red Hat Security Advisory RHSA-2022:5242

vim Updated 02 Oct 2025

Summary

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

RHSA-2022:5242: Red Hat Security Advisory: vim security update. Affects vim versions < 2:8.2.2637-16.el9_0.2. Fixed in 2:8.2.2637-16.el9_0.2. 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

The vim package is a highly configurable text editor built to enable efficient text editing and programming. It is widely used in various environments, including servers and development workstations, due to its powerful features and extensibility. However, recent security assessments have revealed a significant vulnerability that affects multiple versions of vim, particularly in Red Hat Enterprise Linux 9.

Vulnerability Detail

The vulnerability identified 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 is particularly concerning as it can be exploited remotely, leading to severe consequences such as data breaches or system compromise. The vulnerability has been assigned a CVSS score of 7.8, indicating a high level of risk to affected systems.

How To Fix

Minimum fixed version

2:8.2.2637-16.el9_0.2

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 can limit access to the vim editor or avoid using it until the package is updated. Additionally, consider using alternative text editors that do not exhibit this vulnerability.

Conclusion

The vim package vulnerability poses a significant risk to users of Red Hat Enterprise Linux 9. It is crucial to update to the latest patched version to mitigate potential threats. Users are encouraged to monitor their systems for vulnerabilities using tools like Vulert to ensure ongoing security.

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 without requiring code access.

Consider using alternative text editors and restrict access to vim until it can be updated.

Yes, Vulert provides a solution that uses a manifest file to monitor vulnerabilities in real-time.

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

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

2:8.2.2637-16.el9_0.2

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