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, 14.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim — versions 9.1.0000
- Vim — versions 9.1.0000
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-321222 | vim memmove-vec-unaligned-erms.S __memmove_avx_unaligned_erms memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-321222 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #630898 | vim xxd vim-9.1.0000 and related xxd versions (latest master branch) Memory Corruption (Exploit, Third Party Advisory, VDB Entry, 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)