{"schemaVersion":4,"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-11-24T14:51:40.214Z","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,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:7.4.052-1ubuntu3.1+esm8","endInclusive":false}},{"text":"< 2:8.0.1453-1ubuntu1.12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:8.0.1453-1ubuntu1.12","endInclusive":false}},{"text":"< 2:8.1.2269-1ubuntu5.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:8.1.2269-1ubuntu5.13","endInclusive":false}},{"text":"< 2:8.2.3995-1ubuntu2.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:8.2.3995-1ubuntu2.5","endInclusive":false}}],"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-11-24T14:51:40.214Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"insufficient-evidence","tag":null,"reason":"No CVSS vector published; no exploitation reported by the 5 checked sources","nextStep":"Check the vendor advisory","rank":[0,0,0,0,0,0],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[],"epss":{"value":null,"date":null,"stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:12:08.655Z","stale":false,"partial":false}}