{"id":"CVE-2022-1616","state":"PUBLISHED","title":"Use after free in append_command in vim/vim","description":"Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution","publishedAt":"2022-05-07T00:00:00.000Z","updatedAt":"2026-10-08T21:14:07.822Z","severity":{"score":7.3,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","source":"@huntrdev"},"assigner":"@huntrdev","products":["vim vim/vim"],"affected":[{"vendor":"vim","product":"vim/vim","versions":[{"version":"unspecified","status":"affected","lessThan":"8.2.4895","versionType":"custom"}]}],"references":["https://huntr.dev/bounties/40f1d75f-fb2f-4281-b585-a41017f217e2","https://github.com/vim/vim/commit/d88934406c5375d88f8f1b65331c9f0cab68cc6c","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A6BY5P7ERZS7KXSBCGFCOXLMLGWUUJIH/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/","https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/","https://security.gentoo.org/glsa/202208-32","https://support.apple.com/kb/HT213488","http://seclists.org/fulldisclosure/2022/Oct/41","http://seclists.org/fulldisclosure/2022/Oct/28","https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","https://security.gentoo.org/glsa/202305-16","https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T19:49:29.138Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/1xxx/CVE-2022-1616.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-1616","state":"PUBLISHED","datePublished":"2022-05-07T00:00:00.000Z","dateUpdated":"2026-10-08T21:14:07.822Z","assignerShortName":"@huntrdev","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2022-05-06T00:00:00.000Z"},"containers":{"cna":{"title":"Use after free in append_command in vim/vim","descriptions":[{"lang":"en","value":"Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution"}],"affected":[{"vendor":"vim","product":"vim/vim","versions":[{"version":"unspecified","status":"affected","lessThan":"8.2.4895","versionType":"custom"}]}],"references":[{"url":"https://huntr.dev/bounties/40f1d75f-fb2f-4281-b585-a41017f217e2"},{"url":"https://github.com/vim/vim/commit/d88934406c5375d88f8f1b65331c9f0cab68cc6c"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A6BY5P7ERZS7KXSBCGFCOXLMLGWUUJIH/","name":"FEDORA-2022-e92c3ce170","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/","name":"FEDORA-2022-f0db3943d9","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html","name":"[debian-lts-announce] 20220516 [SECURITY] [DLA 3011-1] vim security update","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/","name":"FEDORA-2022-8df66cdbef","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202208-32","name":"GLSA-202208-32","tags":["vendor-advisory"]},{"url":"https://support.apple.com/kb/HT213488"},{"url":"http://seclists.org/fulldisclosure/2022/Oct/41","name":"20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/28","name":"20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","name":"[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202305-16","name":"GLSA-202305-16","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","type":"CWE","lang":"en","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"@huntrdev","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2023-05-03T00:00:00.000Z"},"source":{"advisory":"40f1d75f-fb2f-4281-b585-a41017f217e2","discovery":"EXTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://huntr.dev/bounties/40f1d75f-fb2f-4281-b585-a41017f217e2","tags":["x_transferred"]},{"url":"https://github.com/vim/vim/commit/d88934406c5375d88f8f1b65331c9f0cab68cc6c","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A6BY5P7ERZS7KXSBCGFCOXLMLGWUUJIH/","name":"FEDORA-2022-e92c3ce170","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/","name":"FEDORA-2022-f0db3943d9","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html","name":"[debian-lts-announce] 20220516 [SECURITY] [DLA 3011-1] vim security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/","name":"FEDORA-2022-8df66cdbef","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-32","name":"GLSA-202208-32","tags":["vendor-advisory","x_transferred"]},{"url":"https://support.apple.com/kb/HT213488","tags":["x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/41","name":"20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/28","name":"20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html","name":"[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202305-16","name":"GLSA-202305-16","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:34:35.839Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-1616","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-08T21:12:59.877325Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-08T21:14:07.822Z"}}]}}}