Uncontrolled Recursion in Vim - #VU132277

 

Uncontrolled Recursion in Vim - #VU132277

Published: May 25, 2026


Vulnerability identifier: #VU132277
CSH Severity: Medium
CVSS v4: 5.6 [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]
CVE-ID: N/A
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Vim

Remediation

Install security update from vendor's website.

Vim - update to 9.2.0513

External References

Related Security Bulletins