SecurityContext

CVE-2022-0351: Vim - Buffer Underflow

  • Cve: CVE-2022-0351
  • Name: Vim - Buffer Underflow
  • Description: Access of Memory Location Before Start of Buffer in GitHub repository vim/vim prior to 8.2.
  • Impact: Local attackers can cause application crashes or execute arbitrary code through memory corruption.
  • Remediation: Update to Vim 8.2 or later.
  • Vulnerability type: buffer_overflow
  • 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.00655
  • Epss percentile: 0.52321
  • Assignee: [email protected]
  • Published at: 2022-01-25T18:15:08Z
  • Age in days: 1764
  • Modified at: 2026-10-08T21:17:43Z
  • 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-0351
  • 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-786Access of Memory Location Before Start of Buffer
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/8b36db58-b65c-4298-be7f-40b9e37fd161nvd2022-01-25

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/vim/vim/commit/fe6fb267e6ee5c5da2f41889e4e0e0ac5bf4b89dPatch, Third Party Advisory
https://support.apple.com/kb/HT213444Vendor Advisory
https://support.apple.com/kb/HT213488Vendor Advisory
https://huntr.dev/bounties/8b36db58-b65c-4298-be7f-40b9e37fd161Exploit, Third Party Advisory
http://seclists.org/fulldisclosure/2022/Oct/28Mailing List, Third Party Advisory
http://seclists.org/fulldisclosure/2022/Oct/41Mailing List, Third Party Advisory
http://seclists.org/fulldisclosure/2022/Oct/43Mailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00022.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00009.htmlMailing List, Third Party Advisory
https://security.gentoo.org/glsa/202208-32Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
vim:vim< 8.2/v1/products/vim/vim
debian:debian_linux= 10.0, = 9.0/v1/products/debian/debian_linux
apple:macos< 12.6/v1/products/apple/macos

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-01-25
  • 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