Advisory Published

CVE-2023-48231: Use-After-Free in win_close() in vim

First published: Thu Nov 16 2023(Updated: )

Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in commit `25aabc2b` which has been included in release version 9.0.2106. Users are advised to upgrade. There are no known workarounds for this vulnerability.


Affected SoftwareAffected VersionHow to fix
Vim Vim<9.0.2106

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-48231?

    CVE-2023-48231 is a use-after-free vulnerability in the `win_close()` function in Vim, an open source command line text editor.

  • What is the severity of CVE-2023-48231?

    The severity of CVE-2023-48231 is medium with a CVSS score of 4.3.

  • How does CVE-2023-48231 affect Vim?

    CVE-2023-48231 affects Vim versions up to and including 9.0.2106.

  • How can I fix CVE-2023-48231?

    CVE-2023-48231 has been fixed in Vim release version 9.0.

  • Where can I find more information about CVE-2023-48231?

    More information about CVE-2023-48231 can be found in the CVE database and the GitHub security advisory.


SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
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.
© 2023 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203