{"schemaVersion":3,"id":"USN-5995-1","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"vim vulnerabilities\n\nIt was discovered that Vim incorrectly handled memory when opening certain\nfiles. If an attacker could trick a user into opening a specially crafted\nfile, it could cause Vim to crash, or possible execute arbitrary code. This\nissue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS,\nand Ubuntu 22.04 LTS. (CVE-2022-0413, CVE-2022-1629, CVE-2022-1674,\nCVE-2022-1733, CVE-2022-1735, CVE-2022-1785, CVE-2022-1796, CVE-2022-1851,\nCVE-2022-1898, CVE-2022-1942, CVE-2022-1968, CVE-2022-2124, CVE-2022-2125,\nCVE-2022-2126, CVE-2022-2129, CVE-2022-2175, CVE-2022-2183, CVE-2022-2206,\nCVE-2022-2304, CVE-2022-2345, CVE-2022-2581)\n\nIt was discovered that Vim incorrectly handled memory when opening certain\nfiles. If an attacker could trick a user into opening a specially crafted\nfile, it could cause Vim to crash, or possible execute arbitrary code. This\nissue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04\nLTS. (CVE-2022-1720, CVE-2022-2571, CVE-2022-2845, CVE-2022-2849,\nCVE-2022-2923)\n\nIt was discovered that Vim incorrectly handled memory when opening certain\nfiles. If an attacker could trick a user into opening a specially crafted\nfile, it could cause Vim to crash, or possible execute arbitrary code. This\nissue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-1927,\nCVE-2022-2344)\n\nIt was discovered that Vim incorrectly handled memory when opening certain\nfiles. If an attacker could trick a user into opening a specially crafted\nfile, it could cause Vim to crash, or possible execute arbitrary code. This\nissue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS,\nand Ubuntu 22.10. (CVE-2022-2946)\n\nIt was discovered that Vim incorrectly handled memory when opening certain\nfiles. If an attacker could trick a user into opening a specially crafted\nfile, it could cause Vim to crash, or possible execute arbitrary code. This\nissue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 22.10.\n(CVE-2022-2980)","dates":{"published":"2023-04-04T08:58:38.000Z","modified":"2026-06-29T13:50:52.237Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"ubuntu","product":"vim","name":"vim","label":"vim","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/vim","purlType":"deb","versions":[{"text":"< 2:7.4.052-1ubuntu3.1+esm8","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.0.1453-1ubuntu1.12","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.1.2269-1ubuntu5.13","noFixRecorded":false,"fixedIn":null},{"text":"< 2:8.2.3995-1ubuntu2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:7.4.052-1ubuntu3.1+esm8 | < 2:8.0.1453-1ubuntu1.12 | < 2:8.1.2269-1ubuntu5.13 | < 2:8.2.3995-1ubuntu2.5","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://ubuntu.com/security/notices/USN-5995-1","label":"ubuntu.com/security/notices/USN-5995-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-0413","label":"ubuntu.com/security/CVE-2022-0413","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1629","label":"ubuntu.com/security/CVE-2022-1629","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1674","label":"ubuntu.com/security/CVE-2022-1674","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1720","label":"ubuntu.com/security/CVE-2022-1720","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1733","label":"ubuntu.com/security/CVE-2022-1733","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1735","label":"ubuntu.com/security/CVE-2022-1735","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1785","label":"ubuntu.com/security/CVE-2022-1785","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1796","label":"ubuntu.com/security/CVE-2022-1796","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1851","label":"ubuntu.com/security/CVE-2022-1851","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1898","label":"ubuntu.com/security/CVE-2022-1898","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1927","label":"ubuntu.com/security/CVE-2022-1927","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1942","label":"ubuntu.com/security/CVE-2022-1942","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1968","label":"ubuntu.com/security/CVE-2022-1968","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2124","label":"ubuntu.com/security/CVE-2022-2124","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2125","label":"ubuntu.com/security/CVE-2022-2125","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2126","label":"ubuntu.com/security/CVE-2022-2126","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2129","label":"ubuntu.com/security/CVE-2022-2129","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2175","label":"ubuntu.com/security/CVE-2022-2175","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2183","label":"ubuntu.com/security/CVE-2022-2183","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2206","label":"ubuntu.com/security/CVE-2022-2206","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2304","label":"ubuntu.com/security/CVE-2022-2304","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2344","label":"ubuntu.com/security/CVE-2022-2344","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2345","label":"ubuntu.com/security/CVE-2022-2345","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2571","label":"ubuntu.com/security/CVE-2022-2571","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2581","label":"ubuntu.com/security/CVE-2022-2581","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2845","label":"ubuntu.com/security/CVE-2022-2845","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2849","label":"ubuntu.com/security/CVE-2022-2849","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2923","label":"ubuntu.com/security/CVE-2022-2923","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2946","label":"ubuntu.com/security/CVE-2022-2946","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-2980","label":"ubuntu.com/security/CVE-2022-2980","hostname":"ubuntu.com","tags":["REPORT"]}],"lineage":{"upstream":["CVE-2022-0413","CVE-2022-1629","CVE-2022-1674","CVE-2022-1720","CVE-2022-1733","CVE-2022-1735","CVE-2022-1785","CVE-2022-1796","CVE-2022-1851","CVE-2022-1898","CVE-2022-1927","CVE-2022-1942","CVE-2022-1968","CVE-2022-2124","CVE-2022-2125","CVE-2022-2126","CVE-2022-2129","CVE-2022-2175","CVE-2022-2183","CVE-2022-2206","CVE-2022-2304","CVE-2022-2344","CVE-2022-2345","CVE-2022-2571","CVE-2022-2581","CVE-2022-2845","CVE-2022-2849","CVE-2022-2923","CVE-2022-2946","CVE-2022-2980"],"downstream":[],"duplicates":[],"related":["CVE-2022-0413","CVE-2022-1629","CVE-2022-1674","CVE-2022-1720","CVE-2022-1733","CVE-2022-1735","CVE-2022-1785","CVE-2022-1796","CVE-2022-1851","CVE-2022-1898","CVE-2022-1927","CVE-2022-1942","CVE-2022-1968","CVE-2022-2124","CVE-2022-2125","CVE-2022-2126","CVE-2022-2129","CVE-2022-2175","CVE-2022-2183","CVE-2022-2206","CVE-2022-2304","CVE-2022-2344","CVE-2022-2345","CVE-2022-2571","CVE-2022-2581","CVE-2022-2845","CVE-2022-2849","CVE-2022-2923","CVE-2022-2946","CVE-2022-2980"]},"timeline":[{"kind":"published","date":"2023-04-04T08:58:38.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-29T13:50:52.237Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:30:21.851Z","stale":false,"partial":false}}