
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-0417 is a heap-based buffer overflow vulnerability discovered in the Vim text editor, affecting versions prior to 8.2. The vulnerability was identified in January 2022 and specifically affects the ex_retab() function in src/indent.c of the Vim codebase (VIM Commit, NVD).
The vulnerability occurs due to illegal memory access in the exretab() function within src/indent.c, which can lead to a heap buffer overflow. The issue specifically arises when processing the ':retab' command with certain values. The fix implemented involves limiting the value of 'tabstop' to a maximum of 9999 (TABSTOPMAX) to prevent buffer overflow conditions (VIM Commit).
When exploited, this vulnerability could lead to a denial-of-service condition through application crash or potentially have other unspecified impacts due to the heap buffer overflow condition (Red Hat CVE).
The vulnerability has been patched in Vim version 8.2.4245. Users are advised to upgrade to this version or later. The fix implements a maximum limit (TABSTOP_MAX) of 9999 for the tabstop value to prevent buffer overflow conditions (VIM Commit, Debian LTS).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."