Heap-based Buffer Overflow Affecting vim/vim package, versions [,8.2.4436)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-VIMVIM-2411016
  • published23 Feb 2022
  • disclosed22 Feb 2022
  • creditalkyne Choi

Introduced: 22 Feb 2022

CVE-2022-0714  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 8.2.4436 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to vartabstop value in win_lbr_chartabsize() function. An attacker could exploit this by tricking a user into opening a specially crafted file.

CVSS Scores

version 3.1