Vulnerabilities · 2025 · Vim
CVE-2025-24014
Vim vulnerability
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.
Affected products
Vim, Hci Compute Node Firmware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955 · Vendor Advisory
- github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919 · Patch
- security.netapp.com/advisory/ntap-20250314-0005/ · Third Party Advisory
- www.openwall.com/lists/oss-security/2025/01/20/4
- www.openwall.com/lists/oss-security/2025/01/21/1
- nvd.nist.gov/vuln/detail/CVE-2025-24014
- cve.org/CVERecord?id=CVE-2025-24014
More vulnerabilities in Vim products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.