{"id":"CVE-2025-24014","published":"2025-01-20T22:53:14Z","modified":"2025-03-14T10:03:09Z","title":"segmentation fault in win_line() in Vim < 9.1.1043","vendor":"vim","product":"vim","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00277,"percentile":0.20576,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2025/01/20/4","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/01/21/1","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20250314-0005/","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":4.12},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim","versions":["< 9.1.1043"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-21T14:42:41.237005Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-3594","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2023-5441","parents":[{"from":"CVE-2023-5441","to":"CVE-2025-24014","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/gui.c"],"commits":["https://github.com/vim/vim/commit/20d161ace307e28690229b68584f2d84556f8960","https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919"],"basis":"shared function","functions":["gui_do_scroll"]}]}]}}