Heap Buffer Overflow in Vim Due to Inadequate Visual Mode Handling
CVE-2025-22134
What is CVE-2025-22134?
An issue in the Vim editor allows for a heap buffer overflow when users switch to other buffers while visual mode remains active. This occurs due to Vim not properly terminating visual mode before opening new windows and buffers. It may lead to unauthorized memory access, especially if the command ':all' is executed with visual mode enabled. The integrity of user data could be compromised in this scenario. However, this vulnerability has been addressed in Patch 9.1.1003, which ensures that visual mode resets correctly and verifies buffer line limits before attempting access.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
vim < v9.1.1003
References
CVSS V3.1
Timeline
Vulnerability published
