Vulnerabilities · 2017 · Vim
CVE-2017-6349
Vim vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Vim. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22c · Patch
- www.securityfocus.com/bid/96451
- www.securitytracker.com/id/1037949
- groups.google.com/forum/#%21topic/vim_dev/LAgsTcdSfNA
- groups.google.com/forum/#%21topic/vim_dev/QPZc0CY9j3Y
- security.gentoo.org/glsa/201706-26
- usn.ubuntu.com/4309-1/
- nvd.nist.gov/vuln/detail/CVE-2017-6349
- cve.org/CVERecord?id=CVE-2017-6349
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.