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://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
Thank you for the report
Added to an existing GLSA request. Cleanup will happen in bug 611386.
This issue was resolved and addressed in GLSA 201706-26 at https://security.gentoo.org/glsa/201706-26 by GLSA coordinator Kristian Fiskerstrand (K_F).