# CVE-2025-24014: segmentation fault in win\_line() in Vim \< 9.1.1043

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-01-20 · Modified: 2025-03-14
- Aliases: ALPINE-CVE-2025-24014, MGASA-2025-0038, UBUNTU-CVE-2025-24014, USN-7261-1, USN-7261-2, USN-7815-1, DEBIAN-CVE-2025-24014
- Record: https://cvemate.com/vulnerability/CVE-2025-24014 · JSON: https://cvemate.com/vulnerability/CVE-2025-24014/json

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

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:H
- EPSS: 0.279%, percentile 21.79%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine vim (Alpine Linux): \< 9.1.1105-r0
- debian vim (Debian): All versions (No fix recorded) \| \< 2:9.1.1113-1
- ubuntu vim (Ubuntu): \< 2:7.4.052-1ubuntu3.1+esm22 \| \< 2:7.4.1689-3ubuntu1.5+esm28 \| \< 2:8.0.1453-1ubuntu1.13+esm13 \| \< 2:8.1.2269-1ubuntu5.31 \| \< 2:8.2.3995-1ubuntu2.23 \| \< 2:9.1.0016-1ubuntu7.7 \| \< 2:9.1.0967-1ubuntu4
- mageia vim (Mageia): \< 9.1.1043-1.mga9
- netapp hci\_compute\_node: na
- vim vim: \< 9.1.1043

## 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/>
- <https://security.alpinelinux.org/vuln/CVE-2025-24014>
- <https://advisories.mageia.org/MGASA-2025-0038.html>
- <https://bugs.mageia.org/show_bug.cgi?id=33944>
- <https://www.openwall.com/lists/oss-security/2025/01/20/4>
- <https://ubuntu.com/security/CVE-2025-24014>
- <https://www.cve.org/CVERecord?id=CVE-2025-24014>
- <https://ubuntu.com/security/notices/USN-7261-1>
- <https://ubuntu.com/security/notices/USN-7261-2>
- <https://ubuntu.com/security/notices/USN-7815-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-24014>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24014>

---

Data as of 2026-12-05T03:28:47.555Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
