CVE-2025-24014
vim: segmentation fault in win_line() in Vim < 9.1.1043
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 21, 2025
Updated · October 22, 2026
Description
A flaw was found in Vim. In silent Ex mode (-s -e), Vim typically doesn't show a screen and operates silently in batch mode, however, it is possible to trigger the function that handles the scrolling of a GUI version of Vim via binary characters. The function that handles the scrolling may trigger a redraw, which will access the ScreenLines pointer and can cause a segmentation fault condition. This may lead to an application crash or other undefined behavior.
Statement
In order to trigger this issue, a local user must intentionally and explicitly feed some binary data to Vim in ex mode. Thus, Red Hat considers the impact Low.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.2CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
CWE-787 · Out-of-bounds Write