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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"vim:vim": [
"< 9.1.1043"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-24014",
"id": "CVE-2025-24014",
"imported": "2026-12-02T14:11:18.543Z",
"modified": "2026-06-17T08:57:53.440Z",
"published": "2025-01-20T23:15:07.730Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-24014"
},
{
"affected": {
"vim:vim": [
"< 9.1.1043"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-3594",
"id": "EUVD-2025-3594",
"imported": "2026-12-02T14:11:20.035Z",
"modified": "2025-03-14T10:03:09Z",
"published": "2025-01-20T22:53:14Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2025-3594"
}
]
}