CVE-2022-1621: Vim - Buffer Overflow
- Cve: CVE-2022-1621
- Name: Vim - Buffer Overflow
- Description: Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
- Impact: Attackers can crash the application, bypass security mechanisms, modify memory, and possibly execute remote code.
- Remediation: Update to version 8.2.4919 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service, data_tampering
- Requirement type: none
- 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.02381
- Epss percentile: 0.84214
- Assignee: [email protected]
- Published at: 2022-05-10T14:15:08Z
- Age in days: 1659
- Modified at: 2026-06-17T04:22:48Z
- Patch available: yes
- Public exploits total: 1
- References total: 10
- Products total: 4
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1621
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, 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/520ce714-bfd2-4646-9458-f52cd22bb2fb | nvd | 2022-05-10 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b | Patch, Third Party Advisory |
| https://huntr.dev/bounties/520ce714-bfd2-4646-9458-f52cd22bb2fb | Exploit, Third Party 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 |
| https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/202208-32 | Third Party Advisory |
| https://support.apple.com/kb/HT213488 | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/ | |
| https://security.gentoo.org/glsa/202305-16 |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| vim:vim | < 8.2.4919 | /v1/products/vim/vim |
| debian:debian_linux | = 10.0, = 9.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 35, = 34 | /v1/products/fedoraproject/fedora |
| apple:macos | < 13.0 | /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-05-10
- 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