Uncontrolled Recursion in Vim - #VU132277

 

Uncontrolled Recursion in Vim - #VU132277

Published: May 25, 2026


Vulnerability identifier: #VU132277
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Vim.org
Affected software:
Vim

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled recursion in read_tree_node() when parsing a crafted spell file. A remote attacker can supply a crafted .spl file containing a deep linear node chain to cause a denial of service.

On default 8 MB stacks, approximately 88,000 nested frames can exhaust the stack and crash Vim with SIGSEGV.


Remediation

Install security update from vendor's website.

Sources