Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2022-2923
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-2923 is a NULL Pointer Dereference vulnerability discovered in the Vim text editor, affecting versions prior to 9.0.0240. The vulnerability was identified in the GitHub repository vim/vim and was disclosed in August 2022. The issue specifically affects the sug_filltree function when using the ':mkspell' command with an empty .dic file (VIM Commit, MITRE CVE).

Technical details

The vulnerability occurs in the sug_filltree function when processing an empty dictionary file during spell checking operations. The function fails to properly check for NULL pointers before dereferencing them, which can lead to a crash when using the ':mkspell' command with an empty .dic file. The issue was addressed by adding proper validation checks for empty word trees (VIM Commit).

Impact

When exploited, this vulnerability can cause the Vim editor to crash, resulting in a denial of service condition. The impact is considered less severe as it requires the user to actively process an empty dictionary file using the ':mkspell' command (Red Hat CVE).

Exploitability

The vulnerability has a low exploitability risk as it requires user interaction and specific conditions to trigger. The user must actively attempt to process an empty dictionary file using the ':mkspell' command. Red Hat has rated this issue as having a Low security impact due to the requirement that the victim must run an untrusted file in script mode (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been fixed in Vim version 9.0.0240. Users are advised to upgrade to this version or later to address the issue. The fix involves adding proper validation checks for empty word trees in the sug_filltree function (VIM Commit, Fedora Update).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

vim: 9.0.0270-r0

Fixed

v3.18

vim: 9.0.0270-r0

Fixed

v3.19

vim: 9.0.0270-r0

Fixed

v3.20

vim: 9.0.0270-r0

Fixed

v3.21

vim: 9.0.0270-r0

Fixed

v3.22

vim: 9.0.0270-r0

Fixed

v3.23

vim: 9.0.0270-r0

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • seal-binutils
NoYesSep 14, 2026

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