{"id":"CVE-2022-3520","published":"2022-12-02T00:00:00Z","modified":"2025-04-23T18:32:44Z","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 9.0.0765.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01092,"percentile":0.6626,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246","tags":[]},{"url":"https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b","tags":[]},{"url":"https://security.gentoo.org/glsa/202305-16","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20241115-0010/","tags":[]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":13.25},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 9.0.0765"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T18:31:05.603207Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-42887","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2022-1886","parents":[{"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-2264","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/d25f003342aca9889067f2e839963dfeccf1fe05","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"}]}],"children":[{"from":"CVE-2022-3520","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/36343ae0fb7247e060abfd35fb8e4337b33abb4b","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"}]}]}}