Vulnerability record · CVE-2025-24014 · published 20 January 2025
CVE-2025-24014: Vim out-of-bounds write vulnerability
Vim · Vim
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.
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919 | Patch |
| https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955 | Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/01/20/4 | Mailing List |
| http://www.openwall.com/lists/oss-security/2025/01/21/1 | Mailing List |
| https://security.netapp.com/advisory/ntap-20250314-0005/ | Third Party Advisory |
Track CVE-2025-24014 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-24014), CISA KEV, FIRST EPSS (scores of 2026-11-17). This page is refreshed as NVD updates the record.