Vulnerability identifier: #VU33442
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-190
Exploitation vector: Network
Exploit availability: No
Description
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow.
Mitigation
Install update from vendor's website.
External links
http://www.debian.org/security/2017/dsa-3786
http://www.securityfocus.com/bid/96217
http://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
http://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY
http://security.gentoo.org/glsa/201706-26
http://usn.ubuntu.com/4016-1/
http://usn.ubuntu.com/4309-1/
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.