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.
References
Configurations
History
26 Jun 2026, 04:23
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/vim/vim/commit/cce141c42740f122dd8486ae04e21c2a81016ba8 - Patch | |
| References | () https://github.com/vim/vim/releases/tag/v9.2.0699 - Product | |
| References | () https://github.com/vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3 - Vendor Advisory | |
| First Time |
Vim vim
Vim |
|
| CPE | cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
25 Jun 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-25 16:16
Updated : 2026-06-26 05:16
NVD link : CVE-2026-57456
Mitre link : CVE-2026-57456
CVE.ORG link : CVE-2026-57456
JSON object : View
Products Affected
vim
- vim
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
