CVE-2022-2284
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in GitHub's vim/vim repository prior to version 9.0. The vulnerability, identified as CVE-2022-2284, was found in the utfc_ptr2len() function at mbyte.c. This security issue affects various versions of the Vim text editor across multiple operating systems and distributions (NVD, Gentoo Security).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH), with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The vulnerability is characterized by a local attack vector, low attack complexity, no privileges required, and user interaction required. The scope is unchanged, with high impact on confidentiality, integrity, and availability (NVD).

Impact

If successfully exploited, this vulnerability could lead to denial of service, information disclosure, or potential arbitrary code execution. The high CVSS score indicates significant potential impact on system security, particularly affecting the confidentiality, integrity, and availability of the system (NVD, Gentoo Security).

Mitigation and workarounds

The vulnerability has been fixed in Vim version 9.0. Users are strongly advised to upgrade to this version or later. Various distributions have released patches for their respective versions. For instance, Fedora has released updates for versions 35 and 36, and Gentoo has provided fixes in version 9.0.0060 (Fedora Update, Gentoo Security).

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_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • 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