CVE-2025-24014CWE-787

segmentation fault in win_line() in Vim < 9.1.1043

Medium · published January 20, 2025

CVSS v3.1
4.2
EPSS
0%
Percentile
19.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00279 · 19.3th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-01-20T22:53Z
EPSS history
Timeline
  • 20 JAN 22:53Z
    segmentation fault in win_line() in Vim < 9.1.1043
    cvelistv5