ALAS2-2026-3368
Active ImportantALAS2-2026-3368 (important): vim
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 4 records
Shared by all 4 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2026-3368.html| CVE |
|---|
| CVE-2026-47162 |
| CVE-2026-47167 |
| CVE-2026-52858 |
| CVE-2026-52860 |
Description
Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection vulnerability exists in s:NetrwBookHistSave() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when serializing browsed directory paths to the history file ~/.vim/.netrwhist. A directory name derived from the filesystem is interpolated
Read full publisher description 2684 characters
Vim is an open source, command line text editor. Prior to version 9.2.0495, a Vimscript code injection vulnerability exists in s:NetrwBookHistSave() in the netrw plugin (runtime/pack/dist/opt/netrw/autoload/netrw.vim) when serializing browsed directory paths to the history file ~/.vim/.netrwhist. A directory name derived from the filesystem is interpolated into a single-quoted Vimscript string literal without escaping embedded single quotes, allowing a crafted directory name to break out of the string context and execute arbitrary Vimscript, including shell commands via system() and :!, the next time the history file is sourced. This issue has been patched in version 9.2.0495. (CVE-2026-47162) Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vim builds with +ruby support. Step-definition patterns read from .rb files under the repository's features/*/ or stories/*/ directories are embedded into a Ruby Kernel.eval argument without sufficient escaping, allowing a crafted pattern in an attacker-controlled repository to execute arbitrary Ruby (and through it arbitrary shell commands) when the user invokes a step-jump mapping ([d, ]d). This issue has been patched in version 9.2.0496. (CVE-2026-47167) Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) executes the import and from statements found in the current buffer through Python's import machinery. Because the buffer's working directory is on sys.path, opening a hostile .py file with a sibling Python package and invoking omni-completion runs that package's top-level code as the editing user. This issue has been patched in version 9.2.0561. (CVE-2026-52858) Vim is an open source, command line text editor. Prior to version 9.2.0597, Vim's Python omni-completion executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. Python evaluates function default values, parameter annotations, and class base expressions at definition time, so a hostile buffer can execute attacker-controlled Python expressions during omni-completion. The existing g:pythoncomplete_allow_import mitigation (GHSA-52mc-rq6p-rc7c) does not cover this path, because the attacker-controlled code is not a harvested import/from statement. This issue has been patched in version 9.2.0597. (CVE-2026-52860)
Solution
Run yum update vim or yum update --advisory ALAS2-2026-3368 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1vim
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- vim-common-9.0.2153-1.amzn2.0.7.aarch64
- vim-minimal-9.0.2153-1.amzn2.0.7.aarch64
- vim-enhanced-9.0.2153-1.amzn2.0.7.aarch64
- vim-X11-9.0.2153-1.amzn2.0.7.aarch64
- xxd-9.0.2153-1.amzn2.0.7.aarch64
- vim-debuginfo-9.0.2153-1.amzn2.0.7.aarch64
-
2vim
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- vim-common-9.0.2153-1.amzn2.0.7.i686
- vim-minimal-9.0.2153-1.amzn2.0.7.i686
- vim-enhanced-9.0.2153-1.amzn2.0.7.i686
- vim-X11-9.0.2153-1.amzn2.0.7.i686
- xxd-9.0.2153-1.amzn2.0.7.i686
- vim-debuginfo-9.0.2153-1.amzn2.0.7.i686
-
3vim
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- vim-filesystem-9.0.2153-1.amzn2.0.7.noarch
- vim-data-9.0.2153-1.amzn2.0.7.noarch
-
4vim
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- vim-9.0.2153-1.amzn2.0.7.src
-
5vim
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- vim-common-9.0.2153-1.amzn2.0.7.x86_64
- vim-minimal-9.0.2153-1.amzn2.0.7.x86_64
- vim-enhanced-9.0.2153-1.amzn2.0.7.x86_64
- vim-X11-9.0.2153-1.amzn2.0.7.x86_64
- xxd-9.0.2153-1.amzn2.0.7.x86_64
- vim-debuginfo-9.0.2153-1.amzn2.0.7.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
8- CVE-2026-47162 https://access.redhat.com/security/cve/CVE-2026-47162
- CVE-2026-47167 https://access.redhat.com/security/cve/CVE-2026-47167
- CVE-2026-52858 https://access.redhat.com/security/cve/CVE-2026-52858
- CVE-2026-52860 https://access.redhat.com/security/cve/CVE-2026-52860
- CVE-2026-47162 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47162
- CVE-2026-47167 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47167
- CVE-2026-52858 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-52858
- CVE-2026-52860 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-52860
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-3368.html | Unknown | cee3502bc2bf5caacd1a98530637caf0bdd3e49430279180e24b5633a8f3e5bd | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3368.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3368.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |