PT-2026-52481 · Vim+4 · Vim+4

·

CVE-2026-57456

·

Published

2026-06-21

·

Updated

2026-08-31

CVSS v4.0

8.4

High

VectorAV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Vim versions prior to 9.2.0699
Description Python omni-completion in the text editor executes reconstructed function and class definitions from the current buffer using the exec() function to populate the completion dictionary. Because docstrings are inserted verbatim between triple quotes without escaping, a specially crafted buffer can break out of the literal string to execute arbitrary Python code. This occurs within the runtime/autoload/python3complete.vim and pythoncomplete.vim scripts. An attacker can trigger this by inducing a user to open or paste a malicious file and then initiate omni-completion, leading to arbitrary code execution under the user's privileges.
Recommendations Update to version 9.2.0699.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:47982
ALSA-2026:48650
ALSA-2026:48703
AZL-91110
BDU:2026-14514
CVE-2026-57456
ECHO-498D-6A55-FEAC
GHSA-PPJ8-WQJF-6FP3
OESA-2026-3027
RHSA-2026:35387
USN-8500-1

Affected Products

Linuxmint
Red Os
Rocky Linux
Ubuntu
Vim