WhatCyber / Vulnerabilities / CVE-2026-57456
CVE-2026-57456: vim
HIGH severity
CVE-2026-57456 affects vim. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 7.8 (high). The EPSS model puts the chance of exploitation in the next 30 days at 0.1%.
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.
Key facts
- CVSS v3
- 7.8 (HIGH)
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2026-06-25
- Last modified
- 2026-06-26
- NVD status
- Analyzed
Timeline
- June 25, 2026: Published in the NVD
Weaknesses (CWE)
Affected products
- vim vim
References
- https://github.com/vim/vim/commit/cce141c42740f122dd8486ae04e21c2a81016ba8
- https://github.com/vim/vim/releases/tag/v9.2.0699
- https://github.com/vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3