Use of uninitialized resource in Vim - #VU132275

 

Use of uninitialized resource in Vim - #VU132275

Published: May 25, 2026


Vulnerability identifier: #VU132275
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-908
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 and disclose sensitive information.

The vulnerability exists due to use of uninitialized resource in read_tree_node() and the Vim spell file parser when parsing a crafted spell file. A remote attacker can supply a crafted .spl file with a BY_INDEX shared-node reference to trigger out-of-bounds heap reads to cause a denial of service and disclose sensitive information.

Exploitation requires a malicious .spl file to be present on the runtimepath and the victim to enable spell checking with the matching language or open a text file whose modeline sets 'spelllang' and enables 'spell' while 'modeline' is enabled.


Remediation

Install security update from vendor's website.

Sources