CVE-2026-52858
published high CVSS 4.0 · 7.3Vim: Arbitrary Code Execution via Python Omni-Completion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vim | — | vim< 9.2.0561 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3368 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1862 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | vim | Fixed | 9.2.0498-r0 | Package fix record |
| Debian | trixie | vim | Advisory build | 2:9.1.1230-2+deb13u1 | DSA-6600-1 |
| Red Hat Enterprise Linux | RHEL-10 | vimsrc | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Ubuntu | bionic | vim | Advisory build | 2:8.0.1453-1ubuntu1.13+esm20 | USN-8451-1 |
| AlmaLinux | 10 | vim-data | Advisory build | 2:9.1.083-9.el10_2.7 | ALSA-2026:38509 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | vim-X11aarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Alpine Linux | v3.23 | vim | Fixed | 9.2.0498-r0 | Package fix record |
| Alpine Linux | v3.24 | vim | Fixed | 9.2.0498-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-10 | vimsrc | Advisory build | 2:9.1.083-9.el10_2.7 | RHSA-2026:38509 |
| Red Hat Enterprise Linux | RHEL-6 | vimsrc | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-7 | vimsrc | Advisory build | 2:7.4.629-8.el7_9.2 | RHSA-2026:68711 |
| Red Hat Enterprise Linux | RHEL-8 | vimsrc | Advisory build | 2:8.0.1763-27.el8_10 | RHSA-2026:38510 |
| Red Hat Enterprise Linux | RHEL-9 | vimsrc | Advisory build | 2:8.2.2637-20.el9_2.3 | RHSA-2026:72466 |
| Red Hat Enterprise Linux | RHEL-9 | vimsrc | Advisory build | 2:8.2.2637-20.el9_4.4 | RHSA-2026:72465 |
| Red Hat Enterprise Linux | RHEL-9 | vimsrc | Advisory build | 2:8.2.2637-22.el9_6.4 | RHSA-2026:70818 |
| Red Hat Enterprise Linux | RHEL-9 | vimsrc | Advisory build | 2:8.2.2637-26.el9_8.10 | RHSA-2026:38511 |
| Ubuntu | focal | vim | Advisory build | 2:8.1.2269-1ubuntu5.32+esm8 | USN-8451-1 |
| Ubuntu | jammy | vim | Advisory build | 2:8.2.3995-1ubuntu2.32 | USN-8451-1 |
| Ubuntu | noble | vim | Advisory build | 2:9.1.0016-1ubuntu7.16 | USN-8451-1 |
| Ubuntu | questing | vim | Advisory build | 2:9.1.0967-1ubuntu6.7 | USN-8451-1 |
| Ubuntu | resolute | vim | Advisory build | 2:9.1.2141-1ubuntu4.5 | USN-8451-1 |
| Ubuntu | trusty | vim | Advisory build | 2:7.4.052-1ubuntu3.1+esm29 | USN-8451-1 |
| Ubuntu | xenial | vim | Advisory build | 2:7.4.1689-3ubuntu1.5+esm35 | USN-8451-1 |
| AlmaLinux | 10 | vim-filesystem | Advisory build | 2:9.1.083-9.el10_2.7 | ALSA-2026:38509 |
| AlmaLinux | 8 | vim-X11 | Advisory build | 2:8.0.1763-27.el8_10 | ALSA-2026:38510 |
| AlmaLinux | 8 | vim-common | Advisory build | 2:8.0.1763-27.el8_10 | ALSA-2026:38510 |
| AlmaLinux | 8 | vim-enhanced | Advisory build | 2:8.0.1763-27.el8_10 | ALSA-2026:38510 |
| AlmaLinux | 8 | vim-filesystem | Advisory build | 2:8.0.1763-27.el8_10 | ALSA-2026:38510 |
| AlmaLinux | 8 | vim-minimal | Advisory build | 2:8.0.1763-27.el8_10 | ALSA-2026:38510 |
| AlmaLinux | 9 | vim-X11 | Advisory build | 2:8.2.2637-26.el9_8.10 | ALSA-2026:38511 |
| AlmaLinux | 9 | vim-common | Advisory build | 2:8.2.2637-26.el9_8.10 | ALSA-2026:38511 |
| AlmaLinux | 9 | vim-enhanced | Advisory build | 2:8.2.2637-26.el9_8.10 | ALSA-2026:38511 |
| AlmaLinux | 9 | vim-filesystem | Advisory build | 2:8.2.2637-26.el9_8.10 | ALSA-2026:38511 |
| AlmaLinux | 9 | vim-minimal | Advisory build | 2:8.2.2637-26.el9_8.10 | ALSA-2026:38511 |
| Oracle Linux | 10 | vim-X11x86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-commonaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-commonx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-dataaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-datax86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-enhancedaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-enhancedx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-filesystemaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-filesystemx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-minimalaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | vim-minimalx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | xxdaarch64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 10 | xxdx86_64 | Advisory build | 2:9.1.083-9.0.1.el10_2.7 | ELSA-2026-38509 |
| Oracle Linux | 8 | vim-X11aarch64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-X11x86_64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-commonaarch64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-commonx86_64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-enhancedaarch64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-enhancedx86_64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-filesystemaarch64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-filesystemx86_64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-minimalaarch64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 8 | vim-minimalx86_64 | Advisory build | 2:8.0.1763-27.0.1.el8_10 | ELSA-2026-38510 |
| Oracle Linux | 9 | vim-X11aarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-X11x86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-commonaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-commonx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-enhancedaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-enhancedx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-filesystemaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-filesystemx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-minimalaarch64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Oracle Linux | 9 | vim-minimalx86_64 | Advisory build | 2:8.2.2637-26.0.1.el9_8.10 | ELSA-2026-38511 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11aarch64 | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11ppc64le | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11s390x | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-X11x86_64 | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonaarch64 | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonaarch64 | Advisory build | 2:9.1.083-9.el10_2.7 | RHSA-2026:38509 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonppc64le | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonppc64le | Advisory build | 2:9.1.083-9.el10_2.7 | RHSA-2026:38509 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commons390x | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commons390x | Advisory build | 2:9.1.083-9.el10_2.7 | RHSA-2026:38509 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonx86_64 | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-commonx86_64 | Advisory build | 2:9.1.083-9.el10_2.7 | RHSA-2026:38509 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhancedaarch64 | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhancedppc64le | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhanceds390x | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-10 | vim-enhancedx86_64 | Advisory build | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat Enterprise Linux | RHEL-6 | vim-X11i686 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-X11s390x | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-X11x86_64 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-commoni686 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-commons390x | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-commonx86_64 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-enhancedi686 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-enhanceds390x | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-enhancedx86_64 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-minimali686 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-minimals390x | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-6 | vim-minimalx86_64 | Advisory build | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11ppc64 | Advisory build | 2:7.4.629-8.el7_9.2 | RHSA-2026:68711 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11ppc64le | Advisory build | 2:7.4.629-8.el7_9.2 | RHSA-2026:68711 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11s390x | Advisory build | 2:7.4.629-8.el7_9.2 | RHSA-2026:68711 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11x86_64 | Advisory build | 2:7.4.629-8.el7_9.2 | RHSA-2026:68711 |
| Red Hat Enterprise Linux | RHEL-7 | vim-commonppc64 | Advisory build | 2:7.4.629-8.el7_9.2 | RHSA-2026:68711 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vim | vim | < 9.2.0561 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
- CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
References
3Provider assertions
2GitHub_M · cna
Vim: Arbitrary Code Execution via Python Omni-Completion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8e939764edae3ccfaa40e2cac51bbf94654f231bc541032ddbde3ef4e89a471b
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record