CVE-2025-24014: Vim - Buffer Overflow
- Cve: CVE-2025-24014
- Name: Vim - Buffer Overflow
- Description: 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.
- Impact: Attackers can cause a denial of service or potentially execute arbitrary code by triggering a segmentation fault.
- Remediation: Update to version 9.1.1043 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to feed binary characters to Vim in silent Ex mode
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H
- Epss score: 0.00277
- Epss percentile: 0.20355
- Assignee: [email protected]
- Published at: 2025-01-20T23:15:07Z
- Age in days: 673
- Modified at: 2026-06-17T08:57:53Z
- Patch available: yes
- References total: 5
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-24014
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vim:vim | < 9.1.1043 | no | nvd | /v1/products/vim/vim |
| netapp:hci_compute_node_firmware | all versions | yes | nvd | /v1/products/netapp/hci_compute_node_firmware |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vim/vim | commit, security_advisory | yes | /v1/repositories/vim/vim |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 365
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports