Description
An integer overflow at a u_read_undo memory allocation site would occur for vim before patch 8.0.0377, if it does not properly validate values for tree length when reading a corrupted undo file, which may lead to resultant buffer overflows.
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_sectrack
http://www.securitytracker.com/id/1037949
Patch, Third Party Advisory x_refsource_misc
https://github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22c
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/96451
Mailing List x_refsource_misc
https://groups.google.com/forum/#%21topic/vim_dev/LAgsTcdSfNA
Mailing List x_refsource_misc
https://groups.google.com/forum/#%21topic/vim_dev/QPZc0CY9j3Y
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4309-1/
Scores
CVSS v3
9.8
EPSS
0.0077
EPSS Percentile
73.6%
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.0376
Published
Feb 27, 2017
Tracked Since
Feb 18, 2026