ALAS2-2026-3829


Amazon Linux 2 Security Advisory: ALAS2-2026-3829
Advisory Released Date: 2026-08-04
Advisory Updated Date: 2026-08-04
Severity: Important

Issue Overview:

Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win_execute() without escaping. A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the :! command this allows arbitrary operating-system command execution when a victim opens a crafted PHP file and invokes omni-completion. This issue is fixed in version 9.2.0736. (CVE-2026-59856)

Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completion script in runtime/autoload/ccomplete.vim interpolates the typeref: or typename: extension field of a tags entry, without escaping, into a :vimgrep pattern that is run through :execute. Because :vimgrep honors the bar as a command separator, a crafted tag field can close the search pattern and append an arbitrary Ex command; opening a hostile .c file whose project tags file contains such an entry and invoking C omni-completion runs that command as the editing user. This issue is fixed in version 9.2.0735. (CVE-2026-59858)


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 or yum update --advisory ALAS2-2026-3829 to update your system.

New Packages:
aarch64:
    vim-common-9.0.2153-1.amzn2.0.9.aarch64
    vim-minimal-9.0.2153-1.amzn2.0.9.aarch64
    vim-enhanced-9.0.2153-1.amzn2.0.9.aarch64
    vim-X11-9.0.2153-1.amzn2.0.9.aarch64
    xxd-9.0.2153-1.amzn2.0.9.aarch64
    vim-debuginfo-9.0.2153-1.amzn2.0.9.aarch64

i686:
    vim-common-9.0.2153-1.amzn2.0.9.i686
    vim-minimal-9.0.2153-1.amzn2.0.9.i686
    vim-enhanced-9.0.2153-1.amzn2.0.9.i686
    vim-X11-9.0.2153-1.amzn2.0.9.i686
    xxd-9.0.2153-1.amzn2.0.9.i686
    vim-debuginfo-9.0.2153-1.amzn2.0.9.i686

noarch:
    vim-filesystem-9.0.2153-1.amzn2.0.9.noarch
    vim-data-9.0.2153-1.amzn2.0.9.noarch

src:
    vim-9.0.2153-1.amzn2.0.9.src

x86_64:
    vim-common-9.0.2153-1.amzn2.0.9.x86_64
    vim-minimal-9.0.2153-1.amzn2.0.9.x86_64
    vim-enhanced-9.0.2153-1.amzn2.0.9.x86_64
    vim-X11-9.0.2153-1.amzn2.0.9.x86_64
    xxd-9.0.2153-1.amzn2.0.9.x86_64
    vim-debuginfo-9.0.2153-1.amzn2.0.9.x86_64