
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-1897 is an out-of-bounds write vulnerability discovered in the Vim text editor prior to version 8.2. The vulnerability was identified in the vimregsubboth() function in regexp.c and was disclosed in May 2022 (Fedora Update, Debian LTS).
The vulnerability is characterized as an out-of-bounds write issue in the vimregsubboth() function located in the regexp.c file. The issue occurs during substitute operations that can lead to buffer overflow conditions. The vulnerability has been assigned a CVSS 3.1 score of 7.8 (High), requiring local access and user interaction but potentially leading to high impacts on confidentiality, integrity, and availability (Ubuntu Security).
If successfully exploited, this vulnerability could allow an attacker to perform arbitrary code execution, modify memory, and potentially crash the application. The vulnerability affects multiple versions of Vim across various operating systems and distributions (Debian LTS).
The vulnerability was patched in Vim version 8.2.5023 with a fix that disallows undo operations during substitute commands (Vim Commit). Various distributions have released security updates to address this vulnerability, including Debian, Ubuntu, and Fedora. Users are advised to upgrade to the patched versions available through their respective package managers (Debian LTS, Fedora Update).
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."