Heap-based Buffer Overflow Affecting vim/vim package, versions [9.1.0038,9.1.0706)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (13th 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-7856949
  • published3 Sept 2024
  • disclosed2 Sept 2024
  • creditSuyue Guo

Introduced: 2 Sep 2024

CVE-2024-45306  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.1.0706 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to an optimization in the cursor position calculation, an attacker can cause a program crash by manipulating the cursor to point beyond the end of a line. Note: The impact is low since crashes were not seen not during a real editing session.

CVSS Scores

version 4.0
version 3.1