Critical Security Update for vim Package: Addressing Vulnerability RHSA-2022:5319

vim Updated 02 Oct 2025

Summary

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

RHSA-2022:5319: Red Hat Security Advisory: vim security update. Affects vim versions < 2:8.0.1763-19.el8_6.2. Fixed in 2:8.0.1763-19.el8_6.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 Penetration testing for web, API and mobile 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 built to enable efficient text editing and programming. It is widely used in various environments due to its powerful features, including syntax highlighting, multi-file editing, and extensive plugin support. However, recent security assessments have revealed vulnerabilities that could compromise system integrity and user data.

Vulnerability Detail

The vulnerability identified as RHSA-2022:5319 affects multiple versions of the vim package, including vim-X11, vim-common, and others. This vulnerability arises from improper handling of user input, which could allow an attacker to execute arbitrary code or cause a denial of service. The potential ramifications include unauthorized access to sensitive data, system crashes, and exploitation of the affected systems. The CVSS score for this vulnerability is 7.8, indicating a high severity level.

How To Fix

Minimum fixed version

2:8.0.1763-19.el8_6.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 workaround, users can limit access to the vim editor or restrict its usage to trusted users only until the package is updated. Additionally, consider using alternative text editors that do not exhibit this vulnerability.

Conclusion

The vulnerability RHSA-2022:5319 poses a significant risk to users of the vim package. It is crucial to update to the patched version to safeguard against potential exploits. By following the outlined steps, users can effectively mitigate the risks associated with this vulnerability.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

The vulnerability allows for improper handling of user input, potentially leading to arbitrary code execution or denial of service.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

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

If immediate updates are not possible, limit access to the vim editor and consider using alternative text editors until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

2:8.0.1763-19.el8_6.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