{"schemaVersion":3,"id":"USN-5433-1","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"vim vulnerabilities\n\nIt was discovered that Vim incorrectly handled parsing of filenames in its\nsearch functionality. If a user were tricked into opening a specially crafted\nfile, an attacker could crash the application, leading to a denial of\nservice. (CVE-2021-3973)\n\nIt was discovered that Vim incorrectly handled memory when opening and\nsearching the contents of certain files. If a user were tricked into opening\na specially crafted file, an attacker could crash the application, leading to\na denial of service, or possibly achieve code execution with user privileges.\n(CVE-2021-3974)\n\nIt was discovered that Vim incorrectly handled memory when opening and editing\ncertain files. If a user were tricked into opening a specially crafted file,\nan attacker could crash the application, leading to a denial of service, or\npossibly achieve code execution with user privileges. (CVE-2021-3984,\nCVE-2021-4019, CVE-2021-4069)\n\nIt was discovered that Vim was using freed memory when dealing with regular\nexpressions inside a visual selection. If a user were tricked into opening a\nspecially crafted file, an attacker could crash the application, leading to a\ndenial of service, or possibly achieve code execution with user privileges.\n(CVE-2021-4192)\n\nIt was discovered that Vim was incorrectly performing read and write\noperations when in visual block mode, going beyond the end of a line and\ncausing a heap buffer overflow. If a user were tricked into opening a\nspecially crafted file, an attacker could crash the application, leading to a\ndenial of service, or possibly achieve code execution with user privileges.\n(CVE-2022-0261, CVE-2022-0318)\n\nIt was discovered that Vim was using freed memory when dealing with regular\nexpressions through its old regular expression engine. If a user were tricked\ninto opening a specially crafted file, an attacker could crash the application,\nleading to a denial of service, or possibly achieve code execution with user\nprivileges. (CVE-2022-1154)","dates":{"published":"2022-05-23T11:39:44.000Z","modified":"2026-06-25T13:31:11.735Z","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.1689-3ubuntu1.5+esm4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:7.4.1689-3ubuntu1.5+esm4","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://ubuntu.com/security/notices/USN-5433-1","label":"ubuntu.com/security/notices/USN-5433-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-3973","label":"ubuntu.com/security/CVE-2021-3973","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-3974","label":"ubuntu.com/security/CVE-2021-3974","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-3984","label":"ubuntu.com/security/CVE-2021-3984","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-4019","label":"ubuntu.com/security/CVE-2021-4019","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-4069","label":"ubuntu.com/security/CVE-2021-4069","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2021-4192","label":"ubuntu.com/security/CVE-2021-4192","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-0261","label":"ubuntu.com/security/CVE-2022-0261","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-0318","label":"ubuntu.com/security/CVE-2022-0318","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/CVE-2022-1154","label":"ubuntu.com/security/CVE-2022-1154","hostname":"ubuntu.com","tags":["REPORT"]}],"lineage":{"upstream":["CVE-2021-3973","CVE-2021-3974","CVE-2021-3984","CVE-2021-4019","CVE-2021-4069","CVE-2021-4192","CVE-2022-0261","CVE-2022-0318","CVE-2022-1154"],"downstream":[],"duplicates":[],"related":["CVE-2021-3973","CVE-2021-3974","CVE-2021-3984","CVE-2021-4019","CVE-2021-4069","CVE-2021-4192","CVE-2022-0261","CVE-2022-0318","CVE-2022-1154"]},"timeline":[{"kind":"published","date":"2022-05-23T11:39:44.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-25T13:31:11.735Z","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-20T15:34:09.351Z","stale":false,"partial":false}}