{"id":"UBUNTU-CVE-2022-1420","details":"Use of Out-of-range Pointer Offset in GitHub repository vim/vim prior to 8.2.4774.","modified":"2026-02-04T14:58:09.614866Z","published":"2022-04-21T11:15:00Z","related":["USN-5613-1","USN-5613-2"],"upstream":["CVE-2022-1420"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1420"},{"type":"REPORT","url":"https://huntr.dev/bounties/a4323ef8-90ea-4e1c-90e9-c778f0ecf326"},{"type":"REPORT","url":"https://github.com/vim/vim/commit/8b91e71441069b1dde9ac9ff9d9a829b1b4aecca"},{"type":"REPORT","url":"https://github.com/vim/vim/commit/8b91e71441069b1dde9ac9ff9d9a829b1b4aecca"},{"type":"REPORT","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X6E457NYOIRWBJHKB7ON44UY5AVTG4HU/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5613-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-1420"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5613-2"}],"affected":[{"package":{"name":"vim","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/vim@2:8.1.2269-1ubuntu5.8?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.1.2269-1ubuntu5.8"}]}],"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","2:8.1.2269-1ubuntu5.3","2:8.1.2269-1ubuntu5.4","2:8.1.2269-1ubuntu5.6","2:8.1.2269-1ubuntu5.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"vim","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-athena","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-common","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-gtk","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-gtk3","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-gui-common","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-nox","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-runtime","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"vim-tiny","binary_version":"2:8.1.2269-1ubuntu5.8"},{"binary_name":"xxd","binary_version":"2:8.1.2269-1ubuntu5.8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1420.json"}},{"package":{"name":"vim","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/vim@2:8.2.3995-1ubuntu2.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.3995-1ubuntu2.1"}]}],"versions":["2:8.2.2434-3ubuntu3","2:8.2.2434-3ubuntu4","2:8.2.3565-1ubuntu1","2:8.2.3565-1ubuntu2","2:8.2.3565-1ubuntu3","2:8.2.3565-1ubuntu5","2:8.2.3995-1ubuntu1","2:8.2.3995-1ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"vim","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-athena","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-common","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-gtk","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-gtk3","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-gui-common","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-nox","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-runtime","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"vim-tiny","binary_version":"2:8.2.3995-1ubuntu2.1"},{"binary_name":"xxd","binary_version":"2:8.2.3995-1ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1420.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}