CVE-2022-1619
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in the cmdlineerasechars function in GitHub repository vim/vim prior to version 8.2.4899. The vulnerability was identified and tracked as CVE-2022-1619, with a CVSS score of 7.8 (High). This security flaw affects the command line editing functionality in Vim (CVE, Red Hat).

Technical details

The vulnerability exists in the cmdlineerasechars function within the ex_getln.c file. When processing command line input with latin1 encoding, the function could potentially access memory before the start of the command line buffer. The issue was addressed with improved checks to verify the position within the command line buffer before performing operations (GitHub Commit).

Impact

The vulnerability could allow an attacker to crash the software, modify memory, and potentially achieve remote code execution. The high severity rating (CVSS 7.8) indicates significant potential impact on the confidentiality, integrity, and availability of the system (Huntr).

Mitigation and workarounds

The vulnerability was fixed in Vim version 8.2.4899 with a patch that implements additional checks before performing command line buffer operations. Users are advised to upgrade to this version or later. Multiple Linux distributions and operating systems have released security updates to address this vulnerability (NetApp, Apple).

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