{"id":"CVE-2024-41965","url":"https://www.cyber-defence.io/tools/cve/CVE-2024-41965","generatedAt":"2026-10-28T04:33:05.963Z","title":"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.","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.","published":"2024-08-01T22:15:30.000Z","lastModified":"2026-09-17T17:59:24.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":4.2,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L"},"cwe":["CWE-416","CWE-415"],"affected":["netapp/hci compute node","neovim/neovim","vim/vim"],"epss":{"score":0.0033,"percentile":0.2604,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.33%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48c","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f","tags":["Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://security.netapp.com/advisory/ntap-20241115-0002/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-41965","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}