Stack-based Buffer Overflow Affecting vim/vim package, versions [,9.0.2142)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (6th 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-6230717
  • published7 Feb 2024
  • disclosed5 Feb 2024
  • creditZhen Zhou

Introduced: 5 Feb 2024

CVE-2024-22667  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.2142 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to improper bounds checking in the did_set_langmap function. An attacker can cause a buffer overflow and potentially execute arbitrary code by supplying a crafted input to the affected function.

CVSS Scores

version 3.1