CVE-2024-41965
mediumpriority · track · 17EPSS 0.003 · 26 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.9–4.2
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (47)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1746vim: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2024-08-01csaf · cert_bundDE
Ein entfernter, anonymer oder ein lokaler Angreifer kann mehrere Schwachstellen in vim ausnutzen, um einen Denial of Service Angriff durchzuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-41965/cnnvd
- https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48ccnnvd
- https://github.com/vim/vim/releases/tag/v9.1.0652Patchcnnvd
- https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2fcnnvd
- https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48cenisa_euvd
- https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2fenisa_euvd
- https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48cPatchnvd
- https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2fVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan