CVE-2021-3903
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3903 is a heap-based buffer overflow vulnerability affecting the Vim text editor. The vulnerability was discovered in October 2021 and affects various versions of Vim. When exploited, this vulnerability could allow an attacker to cause memory to be read outside of the bounds of the buffer (CVE Mitre, Debian LTS).

Technical details

The vulnerability occurs when scrolling without a valid screen, leading to invalid memory access. The issue was addressed in patch 8.2.3564 by removing the VALID_BOTLINE flag setting in w_valid (Vim Commit). The vulnerability was assigned a security impact rating of Moderate by Red Hat (Fedora Update).

Impact

The vulnerability could result in a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer, potentially leading to a denial-of-service condition (Red Hat CVE).

Exploitability

The vulnerability requires an attacker to trigger specific conditions related to scrolling without a valid screen. No known exploits in the wild have been reported at the time of the vulnerability disclosure (OSS Security).

Mitigation and workarounds

The vulnerability has been patched in various distributions. Fedora released version 8.2.3568-1 for affected versions (Fedora Update), and Debian included fixes in version 2:8.0.0197-4+deb9u7 (Debian LTS). Users are recommended to upgrade to the patched versions.

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-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • python3-samba-test
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-common
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • ctdb-ceph-mutex
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • samba-test-libs-debuginfo
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • samba-ldb-ldap-modules-debuginfo
NoYesAug 20, 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