Description
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.
References (7)
Core 7
Core References
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201706-26
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/96217
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2017/dsa-3786
Patch, Vendor Advisory x_refsource_confirm
https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
Mailing List x_refsource_confirm
https://groups.google.com/forum/#%21topic/vim_dev/t-3RSdEnrHY
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4016-1/
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4309-1/
Scores
CVSS v3
9.8
EPSS
0.0091
EPSS Percentile
76.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-190
Status
published
Products (1)
vim/vim
< 8.0.0055
Published
Feb 10, 2017
Tracked Since
Feb 18, 2026