Moderate: vim security update

vim-X11 Updated 02 Oct 2025

Summary

09/11/2021
N/A
Yes i
Unrated
Not published

ALSA-2021:4517: Moderate: vim security update. Affects vim-X11 across 2 version ranges.

< 2:8.0.1763-16.el8_5.13 < 2:8.0.1763-16.el8

Fixed in 2:8.0.1763-16.el8_5.13 or 2:8.0.1763-16.el8, depending on the release line you run. 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

Vim (Vi IMproved) is an updated and improved version of the vi editor. It provides enhanced features and functionality compared to the original vi editor.

Vulnerability Detail

This vulnerability (CVE-2021-3778) in Vim is a heap-based buffer overflow in the utf_ptr2char() function in mbyte.c. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial of service.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update vim-X11
  • < 2:8.0.1763-16.el8 2:8.0.1763-16.el8
  • < 2:8.0.1763-16.el8_5.13 2:8.0.1763-16.el8_5.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the security update as soon as possible.

Conclusion

In conclusion, this vulnerability in Vim could allow an attacker to execute arbitrary code or cause a denial of service. It is recommended to update the affected package to the latest version to mitigate the risk. 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, providing enhanced features and functionality.

This vulnerability could allow an attacker to execute arbitrary code or cause a denial of service.

To fix this vulnerability, update the affected package to version 2:8.0.1763-16.el8_5.13 or later.

There is no known workaround for this vulnerability. It is recommended to apply the security update.

You can find more information about this vulnerability in the CVE page(s) listed in the References section.

Related vulnerabilities

Recent vulnerabilities recorded for vim-X11.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

sudo dnf update vim-X11
  • < 2:8.0.1763-16.el8 2:8.0.1763-16.el8
  • < 2:8.0.1763-16.el8_5.13 2:8.0.1763-16.el8_5.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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