
Cloud Vulnerability DB
A community-led vulnerabilities database
A segmentation fault vulnerability was discovered in Vim before version 9.1.1043, identified as CVE-2025-24014. The vulnerability affects Vim's silent Ex mode (-s -e) functionality, where the text editor operates in batch mode without displaying a screen (Vim Advisory).
The vulnerability occurs in the win_line() function when operating in silent Ex mode. When certain binary characters are fed to Vim, they can trigger the GUI scrolling function. This function attempts to access the ScreenLines pointer during a redraw operation, even though this pointer hasn't been allocated due to the absence of a screen. The issue has been assigned CWE-787 (Out-of-bounds Write) classification (Vim Advisory).
The impact of this vulnerability is considered Medium, as exploitation requires intentional and explicit feeding of binary data to Vim while in ex mode. The vulnerability could lead to a segmentation fault, potentially causing the application to crash (Vim Advisory).
The vulnerability has been fixed in Vim patch 9.1.1043. The fix implements a check to verify whether the ScreenLines pointer is NULL before attempting a redraw operation. Users are advised to upgrade to this version or later to mitigate the vulnerability (Vim Advisory).
Security researchers have questioned the classification of this issue as a vulnerability. For instance, Eli Schwartz argued that since the vulnerability requires feeding a malformed script to crash Vim, it shouldn't be considered different from similar behaviors in other command-line tools (OSS Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."