Bug 2492972 (CVE-2026-57456) - CVE-2026-57456 vim: Vim: Arbitrary code execution via malicious docstrings in Python omni-completion
Summary: CVE-2026-57456 vim: Vim: Arbitrary code execution via malicious docstrings in...
Keywords:
Status: NEW
Alias: CVE-2026-57456
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2496813
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-25 16:02 UTC by OSIDB Bzimport
Modified: 2026-07-03 11:41 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-25 16:02:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.