PT-2022-1729
CVE-2022-0261
·
Published
2022-01-18
·
Updated
2026-11-04
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
vim versions prior to 8.2
Description
The issue is a heap-based buffer overflow in the vim repository. This overflow is caused by the
block insert() function in src/ops.c, which leads to a dynamic memory buffer overflow. An attacker could exploit this issue to cause a buffer overflow.Recommendations
For versions prior to 8.2, update to version 8.2 or later to resolve the issue.
As a temporary workaround, consider restricting the use of the
block insert() function in src/ops.c until a patch is available. Found an issue in the description? Have something to add? Feel free to write us 👾