#VU103997 Buffer overflow in Vim - CVE-2025-1215


Vulnerability identifier: #VU103997

Vulnerability risk: Medium

CVSSv4.0: 4 [CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-1215

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Vim
Client/Desktop applications / Software for system administration

Vendor: Vim.org

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing data passed via "--log" argument. A remote attacker can trick the victim into opening a file with a specially crafted argument, trigger memory corruption and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Vim: 9.1.0 - 9.1.1096


External links
https://github.com/vim/vim/commit/c5654b84480822817bb7b69ebc97c174c91185e9
https://github.com/vim/vim/issues/16606
https://github.com/vim/vim/issues/16606
https://github.com/vim/vim/releases/tag/v9.1.1097
https://vuldb.com/?ctiid.295174
https://vuldb.com/?id.295174
https://vuldb.com/?submit.497546
https://vuldb.com/?submit.497546


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability