Buffer Overflow Affecting vim/vim package, versions [,8.2.4975)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.11% (30th 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 Learn

Learn about Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-VIMVIM-2840620
  • published20 May 2022
  • disclosed18 May 2022
  • creditRyan Good

Introduced: 18 May 2022

CVE-2022-1771  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 8.2.4975 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via crafted malicious input, which will cause a recursive command line infinite loop.

PoC

$ ./vim -u NONE -e -s -S crash_input

CVSS Base Scores

version 3.1