CVE-2022-0629
vim: Stack-based Buffer Overflow in vim prior to 8.2.
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 17, 2022
Updated · June 30, 2026
Description
A stack-based buffer overflow flaw was found in vim's ga_concat_shorten_esc() function of src/testing.c file. This flaw allows an attacker to trick a user into opening a crafted file, triggering a stack-overflow. This issue can lead to an application crash, causing a denial of service.
Statement
Vim is shipped in Red Hat Enterprise Linux with stack protection enabled that significantly minimize the impact of this vulnerability.
Red Hat Product Security has rated this issue as having Moderate security impact. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
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.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-787 · Out-of-bounds Write