Use-After-Free Vulnerability in Vim Command Line Text Editor
CVE-2025-55157
6.9MEDIUM
What is CVE-2025-55157?
A vulnerability in the Vim command line text editor allows for memory corruption due to improper handling of memory references when processing nested tuples in Vim script. This flaw occurs specifically in versions ranging from 9.1.1231 to before 9.1.1400, where the function tuple_unref() can attempt to access freed memory, resulting in potential exploitation. Exploitation of this vulnerability requires direct user interaction, as it necessitates executing the vulnerable script within Vim. Version 9.1.1400 addresses this issue with a patch.
Affected Version(s)
vim >= 9.1.1231, < 9.1.1400