SecurityContext

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

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/8c969cba-eef2-4943-b44a-4e3089599109nvd2022-05-19

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/vim/vim/commit/e2bd8600b873d2cd1f9d667c28cba8b1dba18839Patch, Third Party Advisory
https://huntr.dev/bounties/8c969cba-eef2-4943-b44a-4e3089599109Exploit, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00032.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/202208-32Third Party Advisory
https://security.gentoo.org/glsa/202305-16
https://lists.debian.org/debian-lts-announce/2025/03/msg00023.html

Products

ProductAffectedPlatform boundSourcesUrl
vim:vim< 8.2.4977nonvd/v1/products/vim/vim
debian:debian_linux= 10.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
vim/vimcommityes/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