{"id":"CVE-2025-24014","state":"PUBLISHED","title":"segmentation 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.","publishedAt":"2025-01-20T22:53:14.325Z","updatedAt":"2025-03-14T10:03:09.511Z","severity":{"score":4.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["vim vim"],"affected":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.1.1043","status":"affected"}]}],"references":["https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955","https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919","http://www.openwall.com/lists/oss-security/2025/01/20/4","http://www.openwall.com/lists/oss-security/2025/01/21/1","https://security.netapp.com/advisory/ntap-20250314-0005/"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/24xxx/CVE-2025-24014.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-24014","state":"PUBLISHED","datePublished":"2025-01-20T22:53:14.325Z","dateUpdated":"2025-03-14T10:03:09.511Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-01-16T17:31:06.458Z"},"containers":{"cna":{"title":"segmentation fault in win_line() in Vim < 9.1.1043","descriptions":[{"lang":"en","value":"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":[{"vendor":"vim","product":"vim","versions":[{"version":"< 9.1.1043","status":"affected"}]}],"references":[{"url":"https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955","name":"https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919","name":"https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":4.2,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-01-20T22:53:14.325Z"},"source":{"advisory":"GHSA-j3g9-wg22-v955","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/01/20/4"},{"url":"http://www.openwall.com/lists/oss-security/2025/01/21/1"},{"url":"https://security.netapp.com/advisory/ntap-20250314-0005/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-03-14T10:03:09.511Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-01-21T14:42:41.237005Z","id":"CVE-2025-24014","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-21T14:42:50.140Z"}}]}}}