CVE-2022-3324
NixOS vulnerability analysis and mitigation

Overview

A Stack-based Buffer Overflow vulnerability (CVE-2022-3324) was discovered in the Vim editor repository prior to version 9.0.0598. The vulnerability was identified in September 2022 and affects the window handling functionality in Vim. This security flaw was found in the winredrruler() function at drawscreen.c (Fedora Bugzilla).

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 attack vector, low attack complexity, no privileges required, user interaction required, unchanged scope, and high impact on confidentiality, integrity, and availability (NVD). The issue specifically occurs when using a negative array index with a negative width window (GitHub Commit).

Impact

The vulnerability can lead to a buffer overflow condition which could potentially result in denial of service (application crash) or other unspecified impacts. The high CVSS score indicates serious potential consequences for system confidentiality, integrity, and availability (Debian LTS).

Mitigation and workarounds

The vulnerability was patched in Vim version 9.0.0598. The fix ensures that the window width does not become negative by adding appropriate checks. Users are advised to upgrade to this version or later. Various Linux distributions have also released security updates, including Debian, Fedora, and Gentoo (Gentoo Security, Fedora Update).

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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 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