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


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.37% (73rd 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-5934087
  • published5 Oct 2023
  • disclosed2 Oct 2023
  • creditUnknown

Introduced: 2 Oct 2023

CVE-2023-5344  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.1969 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the trunc_string() function. An attacker can cause a heap-based buffer overflow by providing a specially crafted input. This is only exploitable if the victim runs an untrusted file in script mode.

CVSS Scores

version 3.1