CVE-2025-24014

Name
CVE-2025-24014
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919
CONFIRM https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2025/01/20/4
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2025/01/21/1

Match rules

CPE URI Source package Min version Max version
vim >= 0 < 9.1.1043

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
vim edge-main 9.1.0707-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
vim edge-main 9.1.0936-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
vim edge-main 9.1.1012-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
vim edge-main 9.1.1105-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
vim 3.21-main 9.1.1105-r0 Natanael Copa <ncopa@alpinelinux.org> fixed