CVE Explorer
CVE-2026-57456
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"vim","vendor":"vim","versions":[{"status":"affected","version":"< 9.2.0699"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:bf7ab4cf089cbe4542340baf6fd67553c13d0fe71c1bc23713eac422cf987c12 · sha256:2f20e421c21c6e29… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.4,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:bf7ab4cf089cbe4542340baf6fd67553c13d0fe71c1bc23713eac422cf987c12 · sha256:2f20e421c21c6e29… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bf7ab4cf089cbe4542340baf6fd67553c13d0fe71c1bc23713eac422cf987c12 · sha256:2f20e421c21c6e29… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/vim/vim/commit/cce141c42740f122dd8486ae04e21c2a81016ba8","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/commit/cce141c42740f122dd8486ae04e21c2a81016ba8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bf7ab4cf089cbe4542340baf6fd67553c13d0fe71c1bc23713eac422cf987c12 · sha256:2f20e421c21c6e29… · /containers/cna/references/1
{"name":"https://github.com/vim/vim/releases/tag/v9.2.0699","tags":["x_refsource_MISC"],"url":"https://github.com/vim/vim/releases/tag/v9.2.0699"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bf7ab4cf089cbe4542340baf6fd67553c13d0fe71c1bc23713eac422cf987c12 · sha256:2f20e421c21c6e29… · /containers/cna/references/2
{"name":"https://github.com/vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bf7ab4cf089cbe4542340baf6fd67553c13d0fe71c1bc23713eac422cf987c12 · sha256:2f20e421c21c6e29… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.