
Cloud Vulnerability DB
A community-led vulnerabilities database
A heap-based buffer overflow vulnerability was discovered in the Vim editor (CVE-2022-0572) affecting versions prior to 8.2.4359. The vulnerability exists in the ex_retab() function when replacing tabs with spaces or spaces with tabs, which could cause a heap buffer overflow due to improper bounds checking for column numbers (VIM Patch, NVD).
The vulnerability is classified as a heap-based buffer overflow (CWE-122) with a CVSS v3.1 base score of 7.8 HIGH (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). The issue occurs in the ex_retab() function when performing column number calculations during tab/space conversion operations. The vulnerability was fixed in version 8.2.4359 by implementing improved bounds checking to prevent buffer overflows (VIM Patch).
If exploited, this vulnerability could allow an attacker to cause a denial of service through application crashes or potentially execute arbitrary code. The vulnerability requires user interaction, such as opening a specially crafted file (Debian LTS).
The primary mitigation is to update to Vim version 8.2.4359 or later which contains the fix. Multiple Linux distributions have released security updates including Debian (versions 2:8.0.0197-4+deb9u6 and 2:8.1.0875-5+deb10u3) and Fedora (version 8.2.4386-1.fc35) (Debian LTS, Fedora).
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."