CVE-2026-57456: Vim is an open source, command line text editor
CVE-2026-57456 is a high-severity flaw (CVSS 7.8) affecting vim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Vim is an open source, command line text editor. Prior to 9.2.0699, Vim's Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. When reconstructing that source, each scope's docstring is inserted verbatim between triple quotes with no escaping, so a hostile buffer can
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.1% (top 96%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-06-25 |
| Last modified | 2026-06-26 |
Last updated 2026-06-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:47982] Important: vim security update 2026-07-31
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-57456?
vim: upgrade to 9.2.0699. Exact commands for each OS are on this page.
Is CVE-2026-57456 being exploited?
CVE-2026-57456 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-57456 affect?
CVE-2026-57456 affects vim. Severity is high (CVSS 7.8). Vim is an open source, command line text editor. Prior to 9.2.0699, Vim's Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current
How urgent is CVE-2026-57456?
Priority 28/100. High severity
Software pages
Python vulnerabilities · Vim vulnerabilities
Related CVEs
- CVE-2026-51400 HIGH 8.4 UPGRADE An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vms_fi
- CVE-2026-51401 HIGH 7.7 UPGRADE An issue in Vim Project v9.2.0389 and earlier allows a local attacker to execute arbitrary code via the vms_fi
- CVE-2026-34982 HIGH 8.2 UPGRADE Vim is an open source, command line text editor
- CVE-2026-73071 LOW 3.3 UPGRADE Vim is an open source, command line text editor
- CVE-2026-73072 HIGH 7.3 UPGRADE Vim is an open source, command line text editor