8.4

CVE-2026-57456: Vim: Arbitrary Code Execution via Python Omni-Completion Docstrings

Analyzed
AliasesALPINE-CVE-2026-57456UBUNTU-CVE-2026-57456DEBIAN-CVE-2026-57456
Published 25-06-2026Last modified 26-06-2026

Vulnerability summary

CVE-2026-57456 is a high (CVSS 8.4) Improper Control of Generation of Code vulnerability in vim. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.4/10
010
High · v4.0 (CVE.org)
EPSS score
0.14%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 1

Timeline

  1. 25-06-2026
    PublishedVulnerability first disclosed.
  2. 26-06-2026
    Last modifiedVulnerability information updated.

Description

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 break out of the triple-quoted literal and execute attacker-controlled Python during omni-completion. This vulnerability is fixed in 9.2.0699.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.14%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.14% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • vim< 9.2.0854-r0 | < 9.2.0699-r0
Debian1 product
  • vimAll versions (No fix recorded) | < 2:9.1.1230-2+deb13u1 | < 2:9.2.0782-1
Ubuntu1 product
  • vim< 2:7.4.052-1ubuntu3.1+esm30 | < 2:7.4.1689-3ubuntu1.5+esm36 | < 2:8.0.1453-1ubuntu1.13+esm21 | < 2:8.1.2269-1ubuntu5.32+esm9 | < 2:8.2.3995-1ubuntu2.33 | < 2:9.1.0016-1ubuntu7.17 | < 2:9.1.0967-1ubuntu6.8 | < 2:9.1.2141-1ubuntu4.6
Vim1 product

4 vendors · 4 products

References

9 links