CVSS 4.0
7.3 highCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NHigh (7.3) in vim vim. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2026-52858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-52858?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-52858?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-52858 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| vim:vim | before 9.2.0561 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | vim | no fix listed | DEBIAN-CVE-2026-52858 |
| Debian | 13 | vim | 2:9.1.1230-2+deb13u1 | DEBIAN-CVE-2026-52858 DSA-6600-1 |
| Debian | 14 | vim | 2:9.2.0782-1 | DEBIAN-CVE-2026-52858 |
| Ubuntu | 22.04:LTS | vim | 2:8.2.3995-1ubuntu2.32 | UBUNTU-CVE-2026-52858 |
| Ubuntu | 24.04:LTS | vim | 2:9.1.0016-1ubuntu7.16 | UBUNTU-CVE-2026-52858 |
| Ubuntu | 25.10 | vim | 2:9.1.0967-1ubuntu6.7 | UBUNTU-CVE-2026-52858 |
| Ubuntu | 26.04:LTS | vim | 2:9.1.2141-1ubuntu4.5 | UBUNTU-CVE-2026-52858 |
| Ubuntu | Pro:14.04:LTS | vim | 2:7.4.052-1ubuntu3.1+esm29 | UBUNTU-CVE-2026-52858 |
| Ubuntu | Pro:16.04:LTS | vim | 2:7.4.1689-3ubuntu1.5+esm35 | UBUNTU-CVE-2026-52858 |
| Ubuntu | Pro:18.04:LTS | vim | 2:8.0.1453-1ubuntu1.13+esm20 | UBUNTU-CVE-2026-52858 |
| Ubuntu | Pro:20.04:LTS | vim | 2:8.1.2269-1ubuntu5.32+esm8 | UBUNTU-CVE-2026-52858 |
| Red Hat | enterprise_linux:8::appstream | vim-common | 2:8.0.1763-27.el8_10 | RHSA-2026:38510 |
| Red Hat | enterprise_linux:8::baseos | vim | 2:8.0.1763-27.el8_10 | RHSA-2026:38510 |
| Red Hat | enterprise_linux:9::appstream | vim-common | 2:8.2.2637-26.el9_8.10 | RHSA-2026:38511 |
| Red Hat | enterprise_linux:9::baseos | vim | 2:8.2.2637-26.el9_8.10 | RHSA-2026:38511 |
| Red Hat | enterprise_linux:10.2 | vim, vim-common | 2:9.1.083-9.el10_2.7 | RHSA-2026:38509 |
| Red Hat | enterprise_linux_eus:10.0 | vim, vim-X11, vim-common and 1 more | 2:9.1.083-5.el10_0.4 | RHSA-2026:55431 |
| Red Hat | hummingbird:1 | vim, xxd, vim-X11 and 6 more | 2:9.2.967-1.1.hum1 | RHSA-2026:57614 |
| Red Hat | rhel_e4s:9.2::appstream | vim-X11, vim-common, vim-enhanced and 6 more | 2:8.2.2637-20.el9_2.3 | RHSA-2026:72466 |
| Red Hat | rhel_e4s:9.2::baseos | vim, vim-minimal, vim-debuginfo and 6 more | 2:8.2.2637-20.el9_2.3 | RHSA-2026:72466 |
| Red Hat | rhel_e4s:9.4::appstream | vim-X11, vim-common, vim-enhanced and 6 more | 2:8.2.2637-20.el9_4.4 | RHSA-2026:72465 |
| Red Hat | rhel_e4s:9.4::baseos | vim, vim-minimal, vim-debuginfo and 6 more | 2:8.2.2637-20.el9_4.4 | RHSA-2026:72465 |
| Red Hat | rhel_els:6 | vim, vim-X11, vim-common and 2 more | 2:7.4.629-5.el6_10.4 | RHSA-2026:69128 |
| 3 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | vim-X11, vim-common, vim-minimal and 2 more | 2:8.0.1763-27.el8_10 | ALSA-2026:38510 |
| AlmaLinux | 9 | vim-X11, vim-common, vim-minimal and 2 more | 2:8.2.2637-26.el9_8.10 | ALSA-2026:38511 |
| AlmaLinux | 10 | vim-data, vim-filesystem | 2:9.1.083-9.el10_2.7 | ALSA-2026:38509 |
| Rocky Linux | 8 | vim | 2:8.0.1763-27.el8_10 | RLSA-2026:38510 |
| Rocky Linux | 9 | vim | 2:8.2.2637-26.el9_8.10 | RLSA-2026:38511 |
| Rocky Linux | 10 | vim | 2:9.1.083-9.el10_2.7 | RLSA-2026:38509 |
| Alpine | v3.23, v3.24 | vim | 9.2.0498-r0 | ALPINE-CVE-2026-52858 |
| Azure Linux | 3 | vim | 9.2.0620-1 | AZL-89781 |
| Alpaquita | 23, 25, stream | vim | 9.2.0498-r0 | BELL-CVE-2026-52858 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine · Alpaquita.
Red Hat rates this Important.
This is an Important vulnerability in Vim that allows a local attacker to achieve arbitrary code execution. The flaw occurs when a user opens a specially crafted Python file and invokes omni-completion, leading to the execution of malicious code from a co-located Python package. This risk is present in Red Hat Enterprise Linux and other products where Vim is deployed with Python omni-completion enabled, potentially compromising the editing user's system.
Users can mitigate this vulnerability by disabling Python omni-completion in Vim if it is not essential for their workflow. This prevents the execution of untrusted Python code when opening hostile files. To disable this feature, ensure that the `omnifunc` option in your Vim configuration (e.g., `~/.vimrc`) is not set to `pythoncomplete#Complete` or `python3complete#Complete`. Alternatively, users should avoid invoking omni-completion (`Ctrl-X Ctrl-O`) on Python files from untrusted sources. Disabling Python omni-completion may affect Python development functionality within Vim.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | vim-2:9.1.083-9.el10_2.7 | Fixed 2026-07-13 | RHSA-2026:38509 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | vim-2:9.1.083-5.el10_0.4 | Fixed 2026-08-17 | RHSA-2026:55431 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | vim-2:7.4.629-5.el6_10.4 | Fixed 2026-09-21 | RHSA-2026:69128 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | vim-2:7.4.629-8.el7_9.2 | Fixed 2026-09-17 | RHSA-2026:68711 |
| Red Hat Enterprise Linux 8 | vim-2:8.0.1763-27.el8_10 | Fixed 2026-07-13 | RHSA-2026:38510 |
| Red Hat Enterprise Linux 9 | vim-2:8.2.2637-26.el9_8.10 | Fixed 2026-07-13 | RHSA-2026:38511 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | vim-2:8.2.2637-20.el9_2.3 | Fixed 2026-09-28 | RHSA-2026:72466 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | vim-2:8.2.2637-20.el9_4.4 | Fixed 2026-09-28 | RHSA-2026:72465 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | vim-2:8.2.2637-22.el9_6.4 | Fixed 2026-09-23 | RHSA-2026:70818 |
| Red Hat OpenShift Container Platform 4.22 | openshift/ose-rhel-coreos-9:4.22.9.8.202608130832-0 | Fixed 2026-08-18 | RHSA-2026:54769 |
| Red Hat AI Inference Server 3.2 | rhaiis/model-opt-cuda-rhel9:1790621714 | Fixed 2026-09-30 | RHSA-2026:73859 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-cuda-rhel9:1790621718 | Fixed 2026-09-30 | RHSA-2026:73929 |
| Red Hat AI Inference Server 3.2 | rhaiis/vllm-rocm-rhel9:1790621713 | Fixed 2026-09-30 | RHSA-2026:73930 |
| Red Hat AI Inference Server 3.5 | rhaii/vllm-rocm-rhel9:1791425869 | Fixed 2026-10-13 | RHSA-2026:82059 |
| Red Hat AI Inference Server 3.5 | rhaii/vllm-gaudi-rhel9:1791427182 | Fixed 2026-10-13 | RHSA-2026:82061 |
| Red Hat AI Inference Server 3.5 | rhaii/model-opt-cuda-rhel9:1791803821 | Fixed 2026-10-13 | RHSA-2026:82066 |
| Red Hat AI Inference Server 3.5 | rhaii/vllm-cuda-rhel9:1791473631 | Fixed 2026-10-13 | RHSA-2026:82368 |
| Red Hat AI Inference Server 3.5 | rhaii/vllm-spyre-rhel9:1791818357 | Fixed 2026-10-13 | RHSA-2026:82371 |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | |
| Red Hat OpenShift Container Platform 5 | openshift/ose-rhel-coreos-9 | Affected | |
| 52 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-52858.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).