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

vim Updated 02 Oct 2025

Summary

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

RHSA-2022:1552: Red Hat Security Advisory: vim security update. Affects vim versions < 2:8.0.1763-16.el8_5.13. Fixed in 2:8.0.1763-16.el8_5.13. 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

The vim package is a highly versatile text editor widely used in Unix-like operating systems. It provides powerful editing capabilities, including syntax highlighting, multi-file editing, and extensive plugin support. However, it has been identified to have a security vulnerability that could potentially allow unauthorized access or manipulation of files.

Vulnerability Detail

The vulnerability identified in vim (RHSA-2022:1552) stems from improper handling of certain inputs, which could lead to a buffer overflow. This flaw can be exploited by an attacker to execute arbitrary code, potentially compromising the integrity and confidentiality of the system. The CVSS score for this vulnerability is 7.8, indicating a high severity level, which necessitates immediate attention.

How To Fix

Minimum fixed version

2:8.0.1763-16.el8_5.13

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 the use of vim for sensitive operations until the package is updated. Additionally, consider using alternative text editors that do not exhibit this vulnerability.

Conclusion

The vim package has a critical vulnerability that requires immediate attention. Users are advised to update to the latest patched version to mitigate risks associated with this flaw. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for vim →

Share this vulnerability

FAQ

The vulnerability is a buffer overflow issue that can allow attackers to execute arbitrary code.

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.

If an immediate update is not possible, limit the use of vim for critical tasks and consider using alternative text editors.

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

Detailed information can be found in the Red Hat Security Advisory RHSA-2022:1552.

Related vulnerabilities

Recent vulnerabilities recorded for vim.

How To Fix

Minimum fixed version

2:8.0.1763-16.el8_5.13

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