PT-2024-5608

CVE-2024-41965

·

Published

2024-08-01

·

Updated

2026-10-31

Description by

CVSS 3.1
4.2
Medium
MetricsAV: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
Researchers
Vendors
Affected products
Related identifiers
GHSA-46PW-V7QW-XC2F
ALT-PU-2024-17009
ALT-PU-2024-17133
ALT-PU-2024-17154
ALT-PU-2024-17456
AZL-47355
AZL-47391
CLEANSTART-2024-FJ38097
ECHO-9D28-4449-272C
OESA-2024-1982
ROSA-SA-2025-2590
SUSE-SU-2025:02226-1
SUSE-SU-2025_02226-1
SUSE-SU-2025:02227-1
SUSE-SU-2025_02227-1
SUSE-SU-2025:02228-1
SUSE-SU-2025_02228-1
Found an issue in the description? Have something to add? Feel free to write us 👾