CVE-2022-0359: Vim - Buffer Overflow
- Cve: CVE-2022-0359
- Name: Vim - Buffer Overflow
- Description: Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.
- Impact: Local attackers can execute arbitrary code or cause a crash, potentially leading to privilege escalation.
- Remediation: Update to Vim 8.2 or later versions.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: logged_in
- Requirements: Attacker needs local access to the system
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0144
- Epss percentile: 0.73883
- Assignee: [email protected]
- Published at: 2022-01-26T12:15:08Z
- Age in days: 1763
- Modified at: 2026-06-17T04:20:27Z
- Patch available: yes
- Public exploits total: 1
- References total: 11
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0359
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-122 | Heap-based Buffer Overflow |
| CWE-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/a3192d90-4f82-4a67-b7a6-37046cc88def | nvd | 2022-01-26 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/vim/vim/commit/85b6747abc15a7a81086db31289cf1b8b17e6cb1 | Patch, Third Party Advisory |
| https://huntr.dev/bounties/a3192d90-4f82-4a67-b7a6-37046cc88def | Exploit, Issue Tracking, Patch, Third Party Advisory |
| https://support.apple.com/kb/HT213444 | Vendor Advisory |
| https://support.apple.com/kb/HT213488 | Vendor Advisory |
| http://seclists.org/fulldisclosure/2022/Oct/28 | Mailing List, Third Party Advisory |
| http://seclists.org/fulldisclosure/2022/Oct/41 | Mailing List, Third Party Advisory |
| http://seclists.org/fulldisclosure/2022/Oct/43 | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/202208-32 | Third Party Advisory |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| vim:vim | < 8.2.4214 | /v1/products/vim/vim |
| debian:debian_linux | = 10.0, = 9.0 | /v1/products/debian/debian_linux |
| apple:macos | >= 12.0, < 12.6 | /v1/products/apple/macos |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vim/vim | commit | yes | /v1/repositories/vim/vim |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-01-26
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports