Buffer overflow in Vim
CVE-2025-9389
A vulnerability was identified in vim 9.1.0000. Affected is the function __memmove_avx_unaligned_erms of the file memmove-vec-unaligned-erms.S. The manipulation leads to memory corruption. The attack needs to be performed locally. The exploit is publicly available and might be used. Some users are not able to reproduce this. One of the users mentions that this appears not to be working, "when coloring is turned on".
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.002 (10.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 11th percentile — 10.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Vim — versions 9.1.0000
- Vim — versions 9.1.0000
Weakness classification (CWE)
Public proof-of-concept exploits
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (Exploit, VDB Entry, Third Party Advisory, third-party-advisory)
- github.com/vim/vim/issues/17940 (issue-tracking, Exploit, Patch, Issue Tracking, Vendor Advisory)
- github.com/vim/vim/issues/17940 (issue-tracking, Exploit, Patch, Issue Tracking)
- drive.google.com/file/d/1iFbTpW79vqBPkFjWYzGYIh_E6esPhYVY/view (Exploit, exploit)
Frequently asked questions
- What is CVE-2025-9389?
- CVE-2025-9389 is a low-severity vulnerability in Vim, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2025-08-24.
- How severe is CVE-2025-9389?
- Low severity. CVSS v3 base score is 3.3 out of 10.
- Is CVE-2025-9389 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.