Bug 2496813 - CVE-2026-57456 vim: Vim: Arbitrary code execution via malicious docstrings in Python omni-completion [fedora-all]
Summary: CVE-2026-57456 vim: Vim: Arbitrary code execution via malicious docstrings in...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["45c6619c-49c7-46fe-b897-f...
Depends On:
Blocks: CVE-2026-57456
TreeView+ depends on / blocked
 
Reported: 2026-07-03 11:32 UTC by Srikanth Balasubramanian
Modified: 2026-07-13 11:40 UTC (History)
3 users (show)

Fixed In Version: vim-9.2.725-1.fc43, vim-9.2.725-1.fc44, vim-9.2.725-1.fc45
Clone Of:
Environment:
Last Closed: 2026-07-13 11:40:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-07-03 11:32:08 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.