An integer overflow at an unserialize_uep memory allocation site would occur for vim before patch 8.0.0378, if it does not properly validate values for tree length when reading a corrupted undo file, which may lead to resultant buffer overflows.
https://usn.ubuntu.com/4309-1/
https://security.gentoo.org/glsa/201706-26
https://github.com/vim/vim/commit/0c8485f0e4931463c0f7986e1ea84a7d79f10c75
https://groups.google.com/forum/#%21topic/vim_dev/QPZc0CY9j3Y
https://groups.google.com/forum/#%21topic/vim_dev/L_dOHOOiQ5Q
http://www.securitytracker.com/id/1037949
http://www.securityfocus.com/bid/96448
Source: Mitre, NVD
Published: 2017-02-27
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.00843