All reports
High

UBUNTU-CVE-2026-52858

Affected versions

Affected versions
<2:8.2.3995-1ubuntu2.32
Fixed version
2:8.2.3995-1ubuntu2.32
Affected versions
<2:9.1.0016-1ubuntu7.16
Fixed version
2:9.1.0016-1ubuntu7.16
Affected versions
<2:9.1.0967-1ubuntu6.7
Fixed version
2:9.1.0967-1ubuntu6.7
Affected versions
<2:9.1.2141-1ubuntu4.5
Fixed version
2:9.1.2141-1ubuntu4.5
Affected versions
<2:7.4.052-1ubuntu3.1+esm29
Fixed version
2:7.4.052-1ubuntu3.1+esm29
Affected versions
<2:7.4.1689-3ubuntu1.5+esm35
Fixed version
2:7.4.1689-3ubuntu1.5+esm35
Affected versions
<2:8.0.1453-1ubuntu1.13+esm20
Fixed version
2:8.0.1453-1ubuntu1.13+esm20
Affected versions
<2:8.1.2269-1ubuntu5.32+esm8
Fixed version
2:8.1.2269-1ubuntu5.32+esm8

Description

Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) executes the import and from statements found in the current buffer through Python's import machinery. Because the buffer's working directory is on sys.path, opening a hostile .py file with a sibling Python package and invoking omni-completion runs that package's top-level code as the editing user. This issue has been patched in version 9.2.0561.

Links