CVE-2022-1629
NixOS vulnerability analysis and mitigation

Overview

A buffer over-read vulnerability was discovered in the findnextquote function in GitHub repository vim/vim prior to version 8.2.4925. The vulnerability was assigned CVE-2022-1629 and was disclosed in May 2022. This vulnerability affects Vim text editor installations across multiple operating systems and distributions (NVD, Debian).

Technical details

The vulnerability is classified as a Buffer Over-read (CWE-126) issue in the findnextquote function. When processing text with trailing backslashes, the function could read beyond the end of the line, potentially leading to software crashes, memory modification, and possible remote code execution. The vulnerability received a CVSS v3.1 base score of 7.8 (HIGH) according to NVD's assessment, with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow attackers to cause program crashes, modify memory, and potentially achieve remote code execution through specially crafted input. The impact affects the confidentiality, integrity, and availability of the system running the vulnerable Vim version (NVD).

Mitigation and workarounds

The vulnerability was patched in Vim version 8.2.4925. The fix involves adding improved checks for NUL after backslash characters in the findnextquote function. Users are advised to upgrade to this version or later. Multiple distributions have released security updates to address this vulnerability, including Fedora, Gentoo, and Apple macOS (Fedora Update, Gentoo Advisory).

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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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