« List of all CVEs

CVE-2024-47814

use-after-free when closing buffers in Vim

Published: 10/7/2024 Last updated: 11/3/2025 Reserved: 10/3/2024

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.

CNA assigner: GitHub_M (a0819718-46f1-4df5-94e2-005712e83aaa) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 3.9 Low CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

Opam packages affected (1)

conf-vim

Products affected (2)

Product Vendor Version
vim vim <= 5.4.5
vim vim 9.1.0.1

References (8)