CVE-2022-1621
NixOS vulnerability analysis and mitigation

Overview

A heap buffer overflow vulnerability was discovered in the vimstrncpy findword function in GitHub repository vim/vim prior to version 8.2.4919. The vulnerability was assigned CVE-2022-1621 and was disclosed in May 2022. This vulnerability affects Vim text editor installations across multiple operating systems and distributions (NVD, Debian LTS).

Technical details

The vulnerability is classified as a heap-based buffer overflow in the vimstrncpy findword function. It received a CVSS v3.1 base score of 7.8 (High) with vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The issue was fixed in vim version 8.2.4919 by implementing improved checks for valid word strings (Vim Patch).

Impact

The vulnerability could lead to multiple severe consequences including software crashes, bypass of protection mechanisms, memory modification, and potential remote code execution. The high CVSS score reflects the significant potential impact on system security (NVD).

Mitigation and workarounds

The primary mitigation is to upgrade to Vim version 8.2.4919 or later. Multiple Linux distributions have released security updates to address this vulnerability, including Debian with version 2:8.0.0197-4+deb9u6 and Fedora with version 8.2.4927-1.fc34 (Debian LTS, Fedora).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management