{"id":"USN-5460-1","summary":"vim vulnerabilities","details":"It was discovered that Vim was incorrectly processing Vim buffers.\nAn attacker could possibly use this issue to perform illegal memory\naccess and expose sensitive information. (CVE-2022-0554)\n\nIt was discovered that Vim was not properly performing bounds checks\nfor column numbers when replacing tabs with spaces or spaces with\ntabs, which could cause a heap buffer overflow. An attacker could\npossibly use this issue to cause a denial of service or execute\narbitrary code. (CVE-2022-0572)\n\nIt was discovered that Vim was not properly performing validation of\ndata that contained special multi-byte characters, which could cause\nan out-of-bounds read. An attacker could possibly use this issue to\ncause a denial of service. (CVE-2022-0685)\n\nIt was discovered that Vim was incorrectly processing data used to\ndefine indentation in a file, which could cause a heap buffer\noverflow. An attacker could possibly use this issue to cause a denial\nof service. (CVE-2022-0714)\n\nIt was discovered that Vim was incorrectly processing certain regular\nexpression patterns and strings, which could cause an out-of-bounds\nread. An attacker could possibly use this issue to cause a denial of\nservice. (CVE-2022-0729)\n\nIt was discovered that Vim was not properly performing bounds checks\nwhen executing spell suggestion commands, which could cause a heap\nbuffer overflow. An attacker could possibly use this issue to cause a\ndenial of service or execute arbitrary code. (CVE-2022-0943)\n\nIt was discovered that Vim was incorrectly performing bounds checks\nwhen processing invalid commands with composing characters in Ex\nmode, which could cause a buffer overflow. An attacker could possibly\nuse this issue to cause a denial of service or execute arbitrary\ncode. (CVE-2022-1616)\n\nIt was discovered that Vim was not properly processing latin1 data\nwhen issuing Ex commands, which could cause a heap buffer overflow.\nAn attacker could possibly use this issue to cause a denial of\nservice or execute arbitrary code. (CVE-2022-1619)\n\nIt was discovered that Vim was not properly performing memory\nmanagement when dealing with invalid regular expression patterns in\nbuffers, which could cause a NULL pointer dereference. An attacker\ncould possibly use this issue to cause a denial of service.\n(CVE-2022-1620)\n\nIt was discovered that Vim was not properly processing invalid bytes\nwhen performing spell check operations, which could cause a heap\nbuffer overflow. An attacker could possibly use this issue to cause a\ndenial of service or execute arbitrary code. (CVE-2022-1621)\n","modified":"2026-02-10T04:42:38Z","published":"2022-06-06T15:50:45Z","related":["UBUNTU-CVE-2022-0554","UBUNTU-CVE-2022-0572","UBUNTU-CVE-2022-0685","UBUNTU-CVE-2022-0714","UBUNTU-CVE-2022-0729","UBUNTU-CVE-2022-0943","UBUNTU-CVE-2022-1616","UBUNTU-CVE-2022-1619","UBUNTU-CVE-2022-1620","UBUNTU-CVE-2022-1621"],"upstream":["CVE-2022-0554","CVE-2022-0572","CVE-2022-0685","CVE-2022-0714","CVE-2022-0729","CVE-2022-0943","CVE-2022-1616","CVE-2022-1619","CVE-2022-1620","CVE-2022-1621","UBUNTU-CVE-2022-0554","UBUNTU-CVE-2022-0572","UBUNTU-CVE-2022-0685","UBUNTU-CVE-2022-0714","UBUNTU-CVE-2022-0729","UBUNTU-CVE-2022-0943","UBUNTU-CVE-2022-1616","UBUNTU-CVE-2022-1619","UBUNTU-CVE-2022-1620","UBUNTU-CVE-2022-1621"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5460-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0554"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0572"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0685"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0714"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0729"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0943"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1616"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1619"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1620"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-1621"}],"affected":[{"package":{"name":"vim","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/vim@2:7.4.1689-3ubuntu1.5+esm6?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.1689-3ubuntu1.5+esm6"}]}],"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","2:7.4.1689-3ubuntu1.4","2:7.4.1689-3ubuntu1.5","2:7.4.1689-3ubuntu1.5+esm2","2:7.4.1689-3ubuntu1.5+esm3","2:7.4.1689-3ubuntu1.5+esm4","2:7.4.1689-3ubuntu1.5+esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"vim","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-athena","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-athena-py2","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-common","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-gnome","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-gnome-py2","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-gtk","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-gtk-py2","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-gtk3","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-gtk3-py2","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-gui-common","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-nox","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-nox-py2","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-runtime","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"},{"binary_name":"vim-tiny","binary_version":"2:7.4.1689-3ubuntu1.5+esm6"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5460-1.json","cves_map":{"cves":[{"id":"CVE-2022-0554","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0572","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0685","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0714","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:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0729","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/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:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]},{"id":"CVE-2022-0943","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:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-1616","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-1619","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-1620","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-1621","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"}}}],"schema_version":"1.7.3"}