# CVE-2025-24014: segmentation fault in win_line() in Vim < 9.1.1043

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2025-01-20T22:53:14.325Z
- Modified: 2026-06-17T08:57:53.440Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vim vim: < 9.1.1043; before 9.1.1043
- netapp hci_compute_node_firmware: no versions given

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H`

## References

- <https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955> (vendor-advisory)
- <https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919> (patch)
- <http://www.openwall.com/lists/oss-security/2025/01/20/4> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2025/01/21/1> (mailing-list)
- <https://security.netapp.com/advisory/ntap-20250314-0005/> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-24014](https://www.cve.org/CVERecord?id=CVE-2025-24014), CVE Terms of Use, modified 2025-03-14
- NVD: [CVE-2025-24014](https://nvd.nist.gov/vuln/detail/CVE-2025-24014), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-24014 · Whole record: https://cve.day/CVE-2025-24014.json · Rebuilt by cve.day 2026-11-25T22:58:53.449Z
