{"id":"UBUNTU-CVE-2017-6350","details":"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.","modified":"2026-01-30T02:47:11.447515Z","published":"2017-02-27T07:59:00Z","related":["USN-4309-1"],"upstream":["CVE-2017-6350"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-6350"},{"type":"REPORT","url":"https://groups.google.com/forum/#!topic/vim_dev/L_dOHOOiQ5Q"},{"type":"REPORT","url":"https://groups.google.com/forum/#!topic/vim_dev/QPZc0CY9j3Y"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4309-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-6350"}],"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":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"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","binary_version":"2:7.4.052-1ubuntu3.1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-6350.json"}},{"package":{"name":"vim","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/vim@2:7.4.1689-3ubuntu1.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.1689-3ubuntu1.4"}]}],"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","2:7.4.1689-3ubuntu1.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"vim","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-athena","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-athena-py2","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-common","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-gnome","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-gnome-py2","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-gtk","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-gtk-py2","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-gtk3","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-gtk3-py2","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-gui-common","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-nox","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-nox-py2","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-runtime","binary_version":"2:7.4.1689-3ubuntu1.4"},{"binary_name":"vim-tiny","binary_version":"2:7.4.1689-3ubuntu1.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-6350.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":"negligible"}]}