{"api_version":"1","generated_at":"2026-04-23T06:20:21+00:00","cve":"CVE-2022-3520","urls":{"html":"https://cve.report/CVE-2022-3520","api":"https://cve.report/api/cve/CVE-2022-3520.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-3520","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-3520"},"summary":{"title":"CVE-2022-3520","description":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765.","state":"PUBLIC","assigner":"security@huntr.dev","published_at":"2022-12-02 19:15:00","updated_at":"2023-05-03 12:16:00"},"problem_types":["CWE-122"],"metrics":[],"references":[{"url":"https://security.gentoo.org/glsa/202305-16","name":"GLSA-202305-16","refsource":"GENTOO","tags":[],"title":"Vim, gVim: Multiple Vulnerabilities (GLSA 202305-16) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246","name":"https://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246","refsource":"CONFIRM","tags":[],"title":"huntr: Page not found","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b","name":"https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b","refsource":"MISC","tags":[],"title":"patch 9.0.0765: with a Visual block a put command column may go negative · vim/vim@36343ae · GitHub","mime":"application/octet-stream","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3520","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3520","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"3520","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vim","cpe5":"vim","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-3520","qid":"182268","title":"Debian Security Update for vim (CVE-2022-3520)"},{"cve":"CVE-2022-3520","qid":"199815","title":"Ubuntu Security Notification for Vim Vulnerabilities (USN-6420-1)"},{"cve":"CVE-2022-3520","qid":"355073","title":"Amazon Linux Security Advisory for vim : AL2012-2023-397"},{"cve":"CVE-2022-3520","qid":"503694","title":"Alpine Linux Security Update for vim"},{"cve":"CVE-2022-3520","qid":"503813","title":"Alpine Linux Security Update for vim"},{"cve":"CVE-2022-3520","qid":"672740","title":"EulerOS Security Update for vim (EulerOS-SA-2023-1460)"},{"cve":"CVE-2022-3520","qid":"672753","title":"EulerOS Security Update for vim (EulerOS-SA-2023-1485)"},{"cve":"CVE-2022-3520","qid":"672788","title":"EulerOS Security Update for vim (EulerOS-SA-2023-1543)"},{"cve":"CVE-2022-3520","qid":"672823","title":"EulerOS Security Update for vim (EulerOS-SA-2023-1568)"},{"cve":"CVE-2022-3520","qid":"672837","title":"EulerOS Security Update for vim (EulerOS-SA-2023-1579)"},{"cve":"CVE-2022-3520","qid":"672847","title":"EulerOS Security Update for vim (EulerOS-SA-2023-1589)"},{"cve":"CVE-2022-3520","qid":"672883","title":"EulerOS Security Update for vim (EulerOS-SA-2023-1613)"},{"cve":"CVE-2022-3520","qid":"673090","title":"EulerOS Security Update for vim (EulerOS-SA-2023-2179)"},{"cve":"CVE-2022-3520","qid":"710718","title":"Gentoo Linux Vim, gVim Multiple Vulnerabilities (GLSA 202305-16)"},{"cve":"CVE-2022-3520","qid":"753073","title":"SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4631-1)"},{"cve":"CVE-2022-3520","qid":"753603","title":"SUSE Enterprise Linux Security Update for vim (SUSE-SU-2023:0209-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@huntr.dev","ID":"CVE-2022-3520","STATE":"PUBLIC","TITLE":"Heap-based Buffer Overflow in vim/vim"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"vim/vim","version":{"version_data":[{"version_affected":"<","version_value":"9.0.0765"}]}}]},"vendor_name":"vim"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0765."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-122 Heap-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246","refsource":"CONFIRM","url":"https://huntr.dev/bounties/c1db3b70-f4fe-481f-8a24-0b1449c94246"},{"name":"https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b","refsource":"MISC","url":"https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b"},{"refsource":"GENTOO","name":"GLSA-202305-16","url":"https://security.gentoo.org/glsa/202305-16"}]},"source":{"advisory":"c1db3b70-f4fe-481f-8a24-0b1449c94246","discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-12-02 19:15:00","lastModifiedDate":"2023-05-03 12:16:00","problem_types":["CWE-122"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*","versionEndExcluding":"9.0.0765","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}