Use After Free Affecting vim/vim package, versions [,9.0.2067)


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.04% (6th 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-6038582
  • published29 Oct 2023
  • disclosed27 Oct 2023
  • creditCole Dilorenzo

Introduced: 27 Oct 2023

CVE-2023-46246  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.0.2067 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the ga_grow_inner function, by providing an argument that overflows the accepted value when using the :history command. Note: This is only exploitable if the argument provided to the :history command exceeds the accepted value.

References

CVSS Scores

version 3.1