JLSEC-2026-1836: Use After Free

Published Dec 2, 2026
·
Updated

Vim is an open source, command line text editor. A use-after-free was found in Vim < 9.1.0764. When closing a buffer (visible in a window) a BufWinLeave auto command can cause an use-after-free if this auto command happens to re-open the same buffer in a new split window. Impact is low since the user must have intentionally set up such a strange auto command and run some buffer unload commands. However this may lead to a crash. This issue has been addressed in version 9.1.0764 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected Software

1 affected component
julia/vim_jll*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.1.0764

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 realistically exposed to this issue?

Exposure is limited to Vim installations with a user-defined BufWinLeave autocommand that reopens the same buffer in a new split window while the buffer is being closed. The issue also requires running buffer-unload commands.

2

What does an attacker or triggering condition need to cause the problem?

The problematic BufWinLeave autocommand must already have been intentionally configured, and the affected buffer must be closed while visible in a window. Exploitation depends on that autocommand reopening the same buffer in a new split window.

3

What is the expected impact?

The documented impact is a crash caused by a use-after-free condition. No confidentiality or integrity impact is identified in the provided severity vector.

4

What should teams do if they cannot upgrade immediately?

No known workaround is available. Users should upgrade Vim to version 9.1.0764 or later.

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