CVE-2017-6349

NameCVE-2017-6349
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-850-1
NVD severityhigh (attack range: remote)
Debian Bugs856266

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
neovim (PTS)stretch0.1.7-4fixed
stretch (security)0.1.7-4+deb9u1fixed
bullseye, sid, buster0.3.4-3fixed
vim (PTS)jessie2:7.4.488-7+deb8u3fixed
jessie (security)2:7.4.488-7+deb8u2vulnerable
stretch2:8.0.0197-4+deb9u1fixed
stretch (security)2:8.0.0197-4+deb9u3fixed
bullseye, sid, buster2:8.1.0875-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
neovimsource(unstable)0.1.7-4high
vimsource(unstable)2:8.0.0197-3high856266
vimsourcejessie2:7.4.488-7+deb8u3high
vimsourcewheezy2:7.3.547-7+deb7u3highDLA-850-1

Notes

Fixed by: https://github.com/vim/vim/commit/3eb1637b1bba19519885dd6d377bd5596e91d22c

Search for package or bug name: Reporting problems