PT-2024-5608
CVE-2024-41965
·
Published
2024-08-01
·
Updated
2026-10-31
Description by
CVSS 3.1
4.2
MediumMetricsAV: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.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾