{"id":"USN-6195-1","summary":"vim vulnerabilities","details":"It was discovered that Vim contained an out-of-bounds read vulnerability.\nAn attacker could possibly use this issue to cause a denial of service or \nexecute arbitrary code. (CVE-2022-0128)\n\nIt was discovered that Vim did not properly manage memory when freeing\nallocated memory. An attacker could possibly use this issue to cause a\ndenial of service or execute arbitrary code. (CVE-2022-0156)\n\nIt was discovered that Vim contained a heap-based buffer overflow\nvulnerability. An attacker could possibly use this issue to cause a denial\nof service or execute arbitrary code. (CVE-2022-0158)\n\nIt was discovered that Vim did not properly manage memory when recording\nand using select mode. An attacker could possibly use this issue to cause\na denial of service. (CVE-2022-0393)\n\nIt was discovered that Vim incorrectly handled certain memory operations\nduring a visual block yank. An attacker could possibly use this issue to\ncause a denial of service or execute arbitrary code. (CVE-2022-0407)\n\nIt was discovered that Vim contained a NULL pointer dereference\nvulnerability when switching tabpages. An attacker could possible use this\nissue to cause a denial of service. (CVE-2022-0696)\n","modified":"2026-02-10T04:43:11Z","published":"2023-07-03T00:47:59Z","related":["UBUNTU-CVE-2022-0128","UBUNTU-CVE-2022-0156","UBUNTU-CVE-2022-0158","UBUNTU-CVE-2022-0393","UBUNTU-CVE-2022-0407","UBUNTU-CVE-2022-0696"],"upstream":["CVE-2022-0128","CVE-2022-0156","CVE-2022-0158","CVE-2022-0393","CVE-2022-0407","CVE-2022-0696","UBUNTU-CVE-2022-0128","UBUNTU-CVE-2022-0156","UBUNTU-CVE-2022-0158","UBUNTU-CVE-2022-0393","UBUNTU-CVE-2022-0407","UBUNTU-CVE-2022-0696"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6195-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0128"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0156"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0158"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0393"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0407"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0696"}],"affected":[{"package":{"name":"vim","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/vim@2:8.2.3995-1ubuntu2.9?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:8.2.3995-1ubuntu2.9"}]}],"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","2:8.2.3995-1ubuntu2.1","2:8.2.3995-1ubuntu2.3","2:8.2.3995-1ubuntu2.4","2:8.2.3995-1ubuntu2.5","2:8.2.3995-1ubuntu2.7","2:8.2.3995-1ubuntu2.8"],"ecosystem_specific":{"binaries":[{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-athena"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-common"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-gtk"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-gtk3"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-gui-common"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-nox"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-runtime"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"vim-tiny"},{"binary_version":"2:8.2.3995-1ubuntu2.9","binary_name":"xxd"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6195-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2022-0128","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:C/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0156","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:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0158","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0393","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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-0407","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:R/S:C/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2022-0696","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:N/I:N/A:H"},{"type":"Ubuntu","score":"low"}]}]}}}],"schema_version":"1.7.3"}