
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-1898 is a use-after-free vulnerability discovered in the Vim text editor affecting versions prior to 8.2. The vulnerability was identified in the findpatternin_path() function in search.c and was disclosed in May 2022 (Debian LTS, Fedora).
The vulnerability occurs when using the ']d' command in Vim, where a use-after-free condition arises in the findpatternin_path() function within search.c. The issue was fixed in patch 8.2.5024 by implementing a solution that copies the pattern before searching, preventing the use of freed memory (Vim Commit).
If successfully exploited, this vulnerability could lead to denial-of-service (application crash) or potentially allow arbitrary code execution when opening specially crafted files (Debian LTS).
The vulnerability has been patched in Vim version 8.2.5024. Users are advised to upgrade to this version or later. Multiple distributions have released security updates, including Debian (2:8.0.0197-4+deb9u7), Ubuntu, and Fedora (8.2.5046-1) (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."