{"id":"CVE-2022-1886","published":"2022-05-26T00:00:00Z","modified":"2024-08-03T00:17:00Z","title":"Heap-based Buffer Overflow in vim/vim","vendor":"vim","product":"vim/vim","tier":"tail","description":{"text":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01369,"percentile":0.72578,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/fa0ad526-b608-45b3-9ebc-f2b607834d6a","tags":[]},{"url":"https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TYNK6SDCMOLQJOI3B4AOE66P2G2IH4ZM/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202208-32","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202305-16","tags":["vendor-advisory"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":14.52},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 8.2"]}],"euvd":{"id":"EUVD-2022-25158","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2022-1886","children":[{"from":"CVE-2022-1886","to":"CVE-2022-2264","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/register.c"],"commits":["https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7","https://github.com/vim/vim/commit/d25f003342aca9889067f2e839963dfeccf1fe05"],"basis":"shared function","functions":["do_put"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-1886","to":"CVE-2022-3520","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/register.c"],"commits":["https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7","https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b"],"basis":"shared function","functions":["do_put"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-1886","to":"CVE-2023-1170","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/register.c"],"commits":["https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7","https://github.com/vim/vim/commit/1c73b65229c25e3c1fd8824ba958f7cc4d604f9c"],"basis":"shared function","functions":["do_put"]},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}]}}