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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.14% (50th 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-2988715
  • published22 Aug 2022
  • disclosed17 Aug 2022
  • creditjanette88

Introduced: 17 Aug 2022

CVE-2022-2845  (opens in a new tab)
CWE-126  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.0218 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the edit_unputchar() function in edit.c.

PoC:

enew
se ve=all
silent normal q/s

References

CVSS Scores

version 3.1