Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2026-3368

Active Important

ALAS2-2026-3368 (important): vim

Published
22 Jun 2026
Updated
22 Jun 2026

Related CVEs

CVE identifiers linked by this publisher.

4
Publisher relationship details 4 records
Explicit publisher CVE relationships
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.

5

Shared package data

Applies to all 5 occurrences
  1. 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
  2. 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
  3. 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
  4. 4vim

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • vim-9.0.2153-1.amzn2.0.7.src
  5. 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.

0

No CVSS assessments were provided.

Publisher references

8
  • CVE-2026-47162 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-47162
  • CVE-2026-47167 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-47167
  • CVE-2026-52858 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-52858
  • CVE-2026-52860 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-52860
  • CVE-2026-47162 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47162
  • CVE-2026-47167 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-47167
  • CVE-2026-52858 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-52858
  • CVE-2026-52860 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-52860

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2026-3368.htmlUnknowncee3502bc2bf5caacd1a98530637caf0bdd3e49430279180e24b5633a8f3e5bdamazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-3368.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-3368.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected