Moderate: vim security update

vim-X11 Updated 02 Oct 2025

Summary

30/06/2022
N/A
Yes i
Unrated
Not published

ALSA-2022:5319: Moderate: vim security update. Affects vim-X11 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 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

Vim (Vi IMproved) is an updated and improved version of the vi editor. It is widely used for editing text files and provides advanced features such as syntax highlighting, code completion, and split windows. Vim is available for various operating systems and is highly customizable through its configuration files. However, it is susceptible to security vulnerabilities that can be exploited by attackers.

Vulnerability Detail

The vulnerability in Vim is a heap buffer overflow (CVE-2022-1621) and a buffer over-read (CVE-2022-1629). A heap buffer overflow occurs when a program writes more data into a buffer than it can hold, leading to memory corruption and potential code execution. A buffer over-read happens when a program reads data from a buffer beyond its boundaries, resulting in information disclosure or a crash. These vulnerabilities can be exploited by an attacker to execute arbitrary code, crash the program, or leak sensitive information.

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-X11

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

Conclusion

Vim is susceptible to a heap buffer overflow and a buffer over-read vulnerability. It is recommended to update Vim to the latest version to mitigate these security risks. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for vim-X11 →

Share this vulnerability

FAQ

Vim is an updated and improved version of the vi editor. It provides advanced features for editing text files and is highly customizable.

A heap buffer overflow occurs when a program writes more data into a buffer than it can hold, leading to memory corruption and potential code execution.

A buffer over-read happens when a program reads data from a buffer beyond its boundaries, resulting in information disclosure or a crash.

These vulnerabilities can be exploited by an attacker to execute arbitrary code, crash the program, or leak sensitive information.

To fix the vulnerability, update Vim to version 2:8.0.1763-19.el8_6.2 or later.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

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-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