CVE-2022-1785: Vim - Out of Bounds Read/Write
- Cve: CVE-2022-1785
- Name: Vim - Out of Bounds Read/Write
- Description: Out-of-bounds Write in GitHub repository vim/vim prior to 8.2.4977.
- Impact: Attackers can execute arbitrary code or cause a denial of service by crashing the application.
- Remediation: Update to version 8.2.4977 or later.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00494
- Epss percentile: 0.4327
- Assignee: [email protected]
- Published at: 2022-05-19T13:15:07Z
- Age in days: 1650
- Modified at: 2026-06-17T04:23:06Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1785
- 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-787 | Out-of-bounds Write |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/8c969cba-eef2-4943-b44a-4e3089599109 | nvd | 2022-05-19 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/vim/vim/commit/e2bd8600b873d2cd1f9d667c28cba8b1dba18839 | Patch, Third Party Advisory |
| https://huntr.dev/bounties/8c969cba-eef2-4943-b44a-4e3089599109 | Exploit, 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://security.gentoo.org/glsa/202305-16 | |
| https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vim:vim | < 8.2.4977 | no | nvd | /v1/products/vim/vim |
| debian:debian_linux | = 10.0 | no | nvd | /v1/products/debian/debian_linux |
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-19
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports