{"id":"UBUNTU-CVE-2017-5953","details":"vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow.","modified":"2026-02-04T02:33:20.374246Z","published":"2017-02-10T00:00:00Z","related":["USN-4016-1","USN-4309-1"],"upstream":["CVE-2017-5953"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-5953"},{"type":"REPORT","url":"https://groups.google.com/forum/#!topic/vim_dev/t-3RSdEnrHY"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4016-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4309-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-5953"}],"affected":[{"package":{"name":"vim","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/vim@2:7.4.052-1ubuntu3.1+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.052-1ubuntu3.1+esm1"}]}],"versions":["2:7.4.000-1ubuntu2","2:7.4.052-1ubuntu1","2:7.4.052-1ubuntu2","2:7.4.052-1ubuntu3","2:7.4.052-1ubuntu3.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-athena"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-common"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-gnome"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-gtk"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-gui-common"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-lesstif"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-nox"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-runtime"},{"binary_version":"2:7.4.052-1ubuntu3.1+esm1","binary_name":"vim-tiny"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5953.json"}},{"package":{"name":"vim","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/vim@2:7.4.1689-3ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.1689-3ubuntu1.3"}]}],"versions":["2:7.4.712-2ubuntu4","2:7.4.826-1ubuntu1","2:7.4.826-1ubuntu2","2:7.4.826-1ubuntu3","2:7.4.963-1ubuntu1","2:7.4.963-1ubuntu4","2:7.4.963-1ubuntu5","2:7.4.1689-3ubuntu1","2:7.4.1689-3ubuntu1.1","2:7.4.1689-3ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-athena"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-athena-py2"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-common"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-gnome"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-gnome-py2"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-gtk"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-gtk-py2"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-gtk3"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-gtk3-py2"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-gui-common"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-nox"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-nox-py2"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-runtime"},{"binary_version":"2:7.4.1689-3ubuntu1.3","binary_name":"vim-tiny"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5953.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}