Use After Free Affecting vim/vim package, versions [,v8.2.4040)


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.08% (38th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-VIMVIM-2933530
  • published22 Jun 2022
  • disclosed22 Jun 2022
  • creditaidaip

Introduced: 22 Jun 2022

CVE-2022-0156  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade vim/vim to version v8.2.4040 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free because keeping track of allocated lines in user functions is too complicated.

References

CVSS Scores

version 3.1