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.
https://usn.ubuntu.com/4309-1/
https://usn.ubuntu.com/4016-1/
https://security.gentoo.org/glsa/201706-26
http://www.debian.org/security/2017/dsa-3786
https://groups.google.com/forum/#%21topic/vim_dev/t-3RSdEnrHY
https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
http://www.securityfocus.com/bid/96217
Source: Mitre, NVD
Published: 2017-02-10
Updated: 2025-04-20
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
EPSS: 0.01195