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


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined

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-8732946
  • published19 Feb 2025
  • disclosed18 Feb 2025
  • creditfizz-is-on-the-way

Introduced: 18 Feb 2025

NewCVE-2025-26603  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade vim/vim to version 9.1.1115 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the str_to_reg() function due to the improper handling of register content during the redirection of output. This allows an attacker to manipulate the register content that is accessed after being freed.

References

CVSS Scores

version 4.0
version 3.1