4.2

CVE-2024-41965: neovim Use After Free

CVSS: 4.2v3.1MediumAnalyzed
AliasesALPINE-CVE-2024-41965DEBIAN-CVE-2024-41965
Published 01-08-2024Last modified 15-11-2024

Vulnerability summary

CVE-2024-41965 is a medium (CVSS 4.2) Use After Free vulnerability in neovim. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 24.6% of scored vulnerabilities.

Overall risk
17/100
0100
Low · default modelHow is this calculated?
CVSS score
4.2/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 01-08-2024
    PublishedVulnerability first disclosed.
  2. 15-11-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

25%

Versus all other CVEs

30-day change

0.00 pp

From 0.33% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.33%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Alpine1 product
  • vim< 9.1.0652-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.1.0698-1
Neovim1 product
Netapp1 product
Vim1 product

5 vendors · 5 products

References

6 links