PT-2024-5608 · Vim+4 · Vim+4
Suyueguo
·
Published
2024-08-01
·
Updated
2025-07-06
·
CVE-2024-41965
CVSS v3.1
4.2
Medium
| Vector | AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
Vim versions prior to 9.1.0648
Description
The issue arises from a double-free error in the
dialog changed() function when abandoning a buffer. If a user chooses to save a modified buffer without a name, Vim may create a new Untitled file. However, when setting the buffer name to Unnamed, Vim falsely frees a pointer twice, leading to a double-free and possibly a heap-use-after-free, which can cause a crash.Recommendations
For versions prior to 9.1.0648, update to Vim patch v9.1.0648 or later to resolve the issue.
Exploit
Fix
Use After Free
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Debian
Red Os
Suse
Vim