# UBUNTU-CVE-2024-41965

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-01 · Modified: 2026-02-04
- Record: https://cvemate.com/vulnerability/UBUNTU-CVE-2024-41965 · JSON: https://cvemate.com/vulnerability/UBUNTU-CVE-2024-41965/json

## Description

```text
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.
```

## Signals

- CVSS: 4.2 medium (v3.1, OSV · Ubuntu) CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
- EPSS: not scored
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu vim (Ubuntu): All versions (No fix recorded)

## References

- <https://ubuntu.com/security/CVE-2024-41965>
- <https://www.cve.org/CVERecord?id=CVE-2024-41965>
- <https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f>

---

Data as of 2026-12-05T11:33:21.321Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
