CVE-2022-1621
vim: heap buffer overflow in vim_strncpy
Loading…
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · May 10, 2022
Updated · November 22, 2025
Description
A flaw was found in vim, where it is vulnerable to a heap buffer overflow in the vim_strncpy find_word function. This flaw allows a specially crafted file to crash software, modify memory and possibly perform remote execution when opened in vim.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
CWE-787 · Out-of-bounds Write