CVE-2025-24014segmentation fault in win_line() in Vim < 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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| netapp | hci compute node firmware | — | |
| vim | vim | < 9.1.1043 |
References and patches
- https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955 Vendor Advisory
- https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919 Patch
- 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
CPE matches (NVD) (2)
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*< 9.1.1043cpe:2.3:o:netapp:hci_compute_node_firmware:-:*:*:*:*:*:*:*