vim up to 9.1.1042 Silent Ex Mode out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.9 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in vim up to 9.1.1042. This affects an unknown function of the component Silent Ex Mode. Performing a manipulation results in out-of-bounds write. This vulnerability is identified as CVE-2025-24014. The attack is only possible with local access. There is not any exploit available. It is recommended to upgrade the affected component.
Details
A vulnerability was found in vim up to 9.1.1042. It has been classified as critical. This affects some unknown processing of the component Silent Ex Mode. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. CWE is classifying the issue as CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Vim is an open source, command line text editor. A segmentation fault was found in Vim before 9.1.1043. In silent Ex mode (-s -e), Vim typically doesn't show a screen and just operates silently in batch mode. However, it is still possible to trigger the function that handles the scrolling of a gui version of Vim by feeding some binary characters to Vim. The function that handles the scrolling however may be triggering a redraw, which will access the ScreenLines pointer, even so this variable hasn't been allocated (since there is no screen). This vulnerability is fixed in 9.1.1043.
The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2025-24014 since 01/16/2025. The exploitability is told to be easy. An attack has to be approached locally. Neither technical details nor an exploit are publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 214796 (CBL Mariner 2.0 Security Update: vim (CVE-2025-24014)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 9.1.1043 eliminates this vulnerability. Applying the patch 9d1bed5eccdbb46a26b8a484f5e9163c40e63919 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (214796) and CERT Bund (WID-SEC-2025-0130). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Affected
- Amazon Linux 2
- Ubuntu Linux
- SUSE Linux
- Open Source vim
Product
Type
Name
Version
License
Website
- Product: https://github.com/vim/vim/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.0VulDB Meta Temp Score: 4.9
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CNA Base Score: 4.2
CNA Vector (GitHub_M): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 214796
Nessus Name: CBL Mariner 2.0 Security Update: vim (CVE-2025-24014)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: vim 9.1.1043
Patch: 9d1bed5eccdbb46a26b8a484f5e9163c40e63919
Timeline
01/16/2025 🔍01/21/2025 🔍
01/21/2025 🔍
08/14/2025 🔍
Sources
Product: github.comAdvisory: GHSA-j3g9-wg22-v955
Status: Confirmed
CVE: CVE-2025-24014 (🔍)
GCVE (CVE): GCVE-0-2025-24014
GCVE (VulDB): GCVE-100-292641
CERT Bund: WID-SEC-2025-0130 - vim: Schwachstelle ermöglicht Denial of Service
Entry
Created: 01/21/2025 06:44Updated: 08/14/2025 04:57
Changes: 01/21/2025 06:44 (67), 01/21/2025 11:27 (1), 01/30/2025 14:15 (2), 08/03/2025 13:39 (7), 08/14/2025 04:57 (11)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.