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


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.11% (45th 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-2840621
  • published20 May 2022
  • disclosed17 May 2022
  • creditTDHX ICS Security

Introduced: 17 May 2022

CVE-2022-1735  (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.4969 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow by changing the text in the visual mode which may cause invalid memory access.

PoC

./vim -u NONE -i NONE -n -m -X -Z -e -s -S /mnt/share/max/fuzz/poc/vim/poc_h8_s.dat -c :qa!

CVSS Scores

version 3.1