JLSEC-2026-1881: Medium severity julia/vim_jll vulnerability

Published Dec 2, 2026
·
Updated

Vim is an open source, command line text editor. Prior to 9.2.0662, the dumpprefixes() function in src/spell.c walks a spell-file prefix trie iteratively with a depth counter while dumping the prefixes that apply to a word. The counter is bounded only by the trie structure itself; it is never checked against the size of the fixed MAXWLEN-element stack arrays it indexes (prefix[], arridx[], curi[]). A crafted .spl file, loaded when the user dumps the word list, can drive the descent arbitrarily deep, so the function writes past the end of those arrays. This is a stack out-of-bounds write that corrupts the call frame and crashes the editor. This vulnerability is fixed in 9.2.0662.

Affected Software

1 affected component
julia/vim_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vim to a version that resolves this vulnerability.

    Fixed in 9.2.0662

Event History

Dec 2, 2026
Advisory Published
via OSV·02:32 PM
Data Sourced
via OSV·02:32 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Users of julia/vim_jll that include a Vim version earlier than 9.2.0662 are affected when they load a crafted .spl spell file and dump the word list.

2

What does an attacker need to trigger the crash?

The attacker needs to provide a malicious .spl spell file that causes an unusually deep prefix trie traversal. User interaction is required to load that file and invoke the word-list dump operation.

3

Is this reachable through normal editing alone?

The provided information identifies the affected path specifically as dumping the word list after loading a crafted spell file. It does not indicate that ordinary editing without that operation triggers the issue.

4

What should be done if upgrading is not immediately possible?

Do not load untrusted .spl spell files, and avoid dumping word lists for spell files whose origin or contents are not trusted. Upgrade to Vim 9.2.0662 when possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203