VULNERABILITY INTELLIGENCE
CVE-2024-41965
CVSS score4.2 MEDIUM
EPSS probability0.33%
CISA KEVNot currently listed
Published2024-08-01
Last modified2026-09-17
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Description
Vim is an open source command line text editor. double-free in dialog_changed() in Vim < v9.1.0648. When abandoning a buffer, Vim may ask the user what to do with the modified buffer. If the user wants the changed buffer to be saved, Vim may create a new Untitled file, if the buffer did not have a name yet. However, when setting the buffer name to Unnamed, Vim will falsely free a pointer twice, leading to a double-free and possibly later to a heap-use-after-free, which can lead to a crash. The issue has been fixed as of Vim patch v9.1.0648.
Weakness classification
- security-advisories@github.com: CWE-416
- nvd@nist.gov: CWE-415
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory