Amazon Linux 2 Security Advisory: ALAS-2025-2753
Advisory Release Date: 2025-02-12 23:17 Pacific
Advisory Updated Date: 2025-02-25 10:30 Pacific
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. (CVE-2025-24014)
Affected Packages:
vim
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update vim to update your system.
aarch64:
vim-common-9.0.2153-1.amzn2.0.3.aarch64
vim-minimal-9.0.2153-1.amzn2.0.3.aarch64
vim-enhanced-9.0.2153-1.amzn2.0.3.aarch64
vim-X11-9.0.2153-1.amzn2.0.3.aarch64
xxd-9.0.2153-1.amzn2.0.3.aarch64
vim-debuginfo-9.0.2153-1.amzn2.0.3.aarch64
i686:
vim-common-9.0.2153-1.amzn2.0.3.i686
vim-minimal-9.0.2153-1.amzn2.0.3.i686
vim-enhanced-9.0.2153-1.amzn2.0.3.i686
vim-X11-9.0.2153-1.amzn2.0.3.i686
xxd-9.0.2153-1.amzn2.0.3.i686
vim-debuginfo-9.0.2153-1.amzn2.0.3.i686
noarch:
vim-filesystem-9.0.2153-1.amzn2.0.3.noarch
vim-data-9.0.2153-1.amzn2.0.3.noarch
src:
vim-9.0.2153-1.amzn2.0.3.src
x86_64:
vim-common-9.0.2153-1.amzn2.0.3.x86_64
vim-minimal-9.0.2153-1.amzn2.0.3.x86_64
vim-enhanced-9.0.2153-1.amzn2.0.3.x86_64
vim-X11-9.0.2153-1.amzn2.0.3.x86_64
xxd-9.0.2153-1.amzn2.0.3.x86_64
vim-debuginfo-9.0.2153-1.amzn2.0.3.x86_64