
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-2862 is a Use-After-Free vulnerability discovered in the GitHub repository vim/vim affecting versions prior to 9.0.0221. The vulnerability was identified in the vim9instr.c file, specifically in the generate_PCALL() function (VIM Commit, NVD).
The vulnerability is classified as a Use-After-Free (CWE-416) issue with a CVSS v3.1 base score of 7.8 (HIGH), with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The issue occurs when compiling nested functions fails, leading to potential access of freed memory (NVD).
If successfully exploited, this vulnerability could allow an attacker to cause the application to crash or potentially execute arbitrary code. The vulnerability affects the integrity, confidentiality, and availability of the system, with all three impact metrics rated as High (NVD).
The vulnerability was fixed in vim version 9.0.0221. The solution involves modifying the variable name handling to prevent it from being found after being freed. Users are advised to upgrade to version 9.0.0221 or later (VIM Commit, Debian Tracker).
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."