Moderate: vim security update

vim-X11 Updated 02 Oct 2025

Summary

26/04/2022
N/A
Yes i
Unrated
Not published

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

Vim (Vi IMproved) is an updated and improved version of the vi editor. It is a highly configurable text editor built to enable efficient text editing. Vim offers features such as syntax highlighting, auto-indentation, and powerful search and replace capabilities. It is widely used by developers and system administrators for editing code and configuration files.

Vulnerability Detail

The vulnerability identified in this security update is a use after free vulnerability in the utf_ptr2char function of Vim. This vulnerability, tracked as CVE-2022-1154, can be exploited by an attacker to execute arbitrary code or cause a denial of service. The use after free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed, leading to unpredictable behavior and potential security issues.

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

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

Conclusion

In conclusion, the identified vulnerability in Vim can lead to arbitrary code execution or denial of service. It is recommended to update the affected packages to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, you can 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 is a powerful and highly configurable text editor used by developers and system administrators.

A use after free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. This can lead to unpredictable behavior and potential security issues.

This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial of service.

To fix this vulnerability, update the affected packages to version 2:8.0.1763-16.el8_5.13 or later using the package manager of your operating system.

The following packages are affected: vim-X11, vim-common, vim-enhanced, vim-filesystem, and vim-minimal.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

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