{"id":"UBUNTU-CVE-2021-3770","details":"vim is vulnerable to Heap-based Buffer Overflow","modified":"2026-02-04T03:43:45.706708Z","published":"2021-09-06T12:15:00Z","related":["USN-5093-1"],"upstream":["CVE-2021-3770"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3770"},{"type":"REPORT","url":"https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365/"},{"type":"REPORT","url":"https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9"},{"type":"REPORT","url":"https://github.com/vim/vim/commit/2ddb89f8a94425cda1e5491efc80c1ccccb6e08e"},{"type":"REPORT","url":"https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J2CJLY3CF55I2ULG2X4ENXLSXAXYW5J4/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5093-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3770"}],"affected":[{"package":{"name":"vim","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/vim@2:8.1.2269-1ubuntu5.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.1.2269-1ubuntu5.3"}]}],"versions":["2:8.1.0875-5ubuntu2","2:8.1.0875-5ubuntu3","2:8.1.0875-5ubuntu4","2:8.1.2269-1ubuntu1","2:8.1.2269-1ubuntu4","2:8.1.2269-1ubuntu5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"vim","binary_version":"2:8.1.2269-1ubuntu5.3"},{"binary_version":"2:8.1.2269-1ubuntu5.3","binary_name":"vim-athena"},{"binary_name":"vim-common","binary_version":"2:8.1.2269-1ubuntu5.3"},{"binary_name":"vim-gtk","binary_version":"2:8.1.2269-1ubuntu5.3"},{"binary_name":"vim-gtk3","binary_version":"2:8.1.2269-1ubuntu5.3"},{"binary_version":"2:8.1.2269-1ubuntu5.3","binary_name":"vim-gui-common"},{"binary_name":"vim-nox","binary_version":"2:8.1.2269-1ubuntu5.3"},{"binary_version":"2:8.1.2269-1ubuntu5.3","binary_name":"vim-runtime"},{"binary_name":"vim-tiny","binary_version":"2:8.1.2269-1ubuntu5.3"},{"binary_name":"xxd","binary_version":"2:8.1.2269-1ubuntu5.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3770.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}