CVE-2017-6349
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.72%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 9.8 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.72% probability · 85th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-190
- Affected
- vim/vim
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/96451
- http://www.securitytracker.com/id/1037949
- https://github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22cPatch, Third Party Advisory
- https://groups.google.com/forum/#%21topic/vim_dev/LAgsTcdSfNA
- https://groups.google.com/forum/#%21topic/vim_dev/QPZc0CY9j3Y
- https://security.gentoo.org/glsa/201706-26
- https://usn.ubuntu.com/4309-1/
- http://www.securityfocus.com/bid/96451
- http://www.securitytracker.com/id/1037949
- https://github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22cPatch, Third Party Advisory
- https://groups.google.com/forum/#%21topic/vim_dev/LAgsTcdSfNA
- https://groups.google.com/forum/#%21topic/vim_dev/QPZc0CY9j3Y
- https://security.gentoo.org/glsa/201706-26
- https://usn.ubuntu.com/4309-1/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.