CVE-2022-0629
NixOS vulnerability analysis and mitigation

Overview

A Stack-based Buffer Overflow vulnerability was discovered in GitHub repository vim/vim prior to version 8.2. The vulnerability was assigned CVE-2022-0629 and was disclosed in February 2022. This security flaw affects Vim text editor installations across multiple operating systems and distributions (NVD, Debian).

Technical details

The vulnerability is classified as a Stack-based Buffer Overflow with a CVSS v3.1 base score of 7.8 (HIGH). The vulnerability vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating local access, low attack complexity, no privileges required, and user interaction required. The issue was addressed by replacing mbptr2charadv() with mbcptr2charadv() in the code (Vim Patch).

Impact

If exploited, this vulnerability could allow an attacker to execute arbitrary code, modify memory, or cause system crashes. The vulnerability affects the confidentiality, integrity, and availability of the system with high severity ratings for each aspect (Debian, NVD).

Mitigation and workarounds

The vulnerability was patched in Vim version 8.2.4397. Users are advised to upgrade to this version or later. Multiple distributions have released security updates, including Debian (version 2:8.1.0875-5+deb10u4), Fedora (version 8.2.4428-1), and others. The fix involves improving memory handling in the affected code (Debian, 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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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