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

Medium 4.2 Published Updated

An attacker can cause a segmentation fault in Vim's silent Ex mode by feeding binary characters, leading to a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-24014?

CVE-2025-24014 is a medium-severity vulnerability in Vim Vim, published on 20 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-787

Which versions are affected by CVE-2025-24014?

It affects 2 products.

Products include Netapp Hci Compute Node Firmware, Vim Vim.

How do I fix CVE-2025-24014?

Upgrade to a fixed version.

Is CVE-2025-24014 being exploited?

There is no known exploitation of CVE-2025-24014 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2025-24014, AZL-55815, AZL-55818, BELL-CVE-2025-24014, CLSA-2025-1762455549, DEBIAN-CVE-2025-24014 and 8 more.

Is CVE-2025-24014 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free