CVE-2026-57456

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductVim
PublishedJun 25, 2026
First seenJun 25, 2026

How to fix

Update
  • vim vim9.2.0699 or later

Affected products

ProductAffected versionsFixed in
vim vimv < 9.2.06999.2.0699

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-57456 · Vim · Dark Radar