portage-ng / portage / app-editors / vim / 9.2.1172
portage-ng glsa
7 advisories reference app-editors/vim · none place version 9.2.1172 in a vulnerable range
▸ GLSA 202601-02 Vim, gVim: Multiple Vulnerabilities this version unaffected high local 2026-01-26

Multiple vulnerabilities have been discovered in Vim and gVim, the worst of which could lead to execution of arbitrary code.

Announced
2026-01-26
Revised
2026-01-26
Access
local
Bugs
#961498
Advisory
https://security.gentoo.org/glsa/202601-02

Affected packages

PackageArchVulnerableUnaffected
app-editors/gvim*< 9.1.1652>= 9.1.1652
app-editors/vim*< 9.1.1652>= 9.1.1652
app-editors/vim-core*< 9.1.1652>= 9.1.1652

Background

Vim is an efficient, highly configurable improved version of the classic ‘vi’ text editor. gVim is the GUI version of Vim.

Description

Multiple vulnerabilities have been discovered in Vim, gVim. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Vim, gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-9.1.1652"

All Vim, gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-core-9.1.1652"

All Vim, gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/gvim-9.1.1652"

References

▸ GLSA 202305-16 Vim, gVim: Multiple Vulnerabilities this version unaffected low remote 2023-05-03

Multiple vulnerabilities have been found in Vim, the worst of which could result in denial of service.

Announced
2023-05-03
Revised
2023-05-03
Access
remote
Bugs
#851231 #861092 #869359 #879257 #883681 #889730
Advisory
https://security.gentoo.org/glsa/202305-16

Affected packages

PackageArchVulnerableUnaffected
app-editors/gvim*< 9.0.1157>= 9.0.1157
app-editors/vim*< 9.0.1157>= 9.0.1157
app-editors/vim-core*< 9.0.1157>= 9.0.1157

Background

Vim is an efficient, highly configurable improved version of the classic ‘vi’ text editor. gVim is the GUI version of Vim.

Description

Multiple vulnerabilities have been discovered in Vim, gVim. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Vim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-9.0.1157"

All gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/gvim-9.0.1157"

All vim-core users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-core-9.0.1157"

References

▸ GLSA 202208-32 Vim, gVim: Multiple Vulnerabilities this version unaffected low remote 2022-08-21

Multiple vulnerabilities have been discovered in Vim, the worst of which could result in denial of service.

Announced
2022-08-21
Revised
2022-08-21
Access
remote
Bugs
#811870 #818562 #819528 #823473 #824930 #828583 #829658 #830106 #830994 #833572 #836432 #851231
Advisory
https://security.gentoo.org/glsa/202208-32

Affected packages

PackageArchVulnerableUnaffected
app-editors/gvim*< 9.0.0060>= 9.0.0060
app-editors/vim*< 9.0.0060>= 9.0.0060
app-editors/vim-core*< 9.0.0060>= 9.0.0060

Background

Vim is an efficient, highly configurable improved version of the classic ‘vi’ text editor. gVim is the GUI version of Vim.

Description

Multiple vulnerabilities have been discovered in Vim and gVim. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Vim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-9.0.0060"

All gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/gvim-9.0.0060"

All vim-core users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-core-9.0.0060"

References

▸ GLSA 202003-04 Vim, gVim: Remote execution of arbitrary code this version unaffected normal local, remote 2020-03-12

A vulnerability has been found in Vim and gVim concerning how certain modeline options are treated.

Announced
2020-03-12
Revised
2020-03-12
Access
local, remote
Bugs
#687394
Advisory
https://security.gentoo.org/glsa/202003-04

Affected packages

PackageArchVulnerableUnaffected
app-editors/gvim*< 8.1.1486>= 8.1.1486
app-editors/vim*< 8.1.1486>= 8.1.1486

Background

Vim is an efficient, highly configurable improved version of the classic ‘vi’ text editor. gVim is the GUI version of Vim.

Description

It was found that the :source! command was not restricted by the sandbox mode. If modeline was explicitly enabled, opening a specially crafted text file in vim could result in arbitrary command execution.

Impact

A remote attacker could entice a user to open a specially crafted file using Vim or gVim, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Vim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-8.1.1486"

All gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/gvim-8.1.1486"

References

▸ GLSA 201706-26 Vim, gVim: Remote execution of arbitrary code this version unaffected normal remote 2017-06-22

Multiple vulnerabilities have been found in Vim and gVim, the worst of which might allow remote attackers to execute arbitrary code.

Announced
2017-06-22
Revised
2017-06-22
Access
remote
Bugs
#609150 #611386
Advisory
https://security.gentoo.org/glsa/201706-26

Affected packages

PackageArchVulnerableUnaffected
app-editors/gvim*< 8.0.0386>= 8.0.0386
app-editors/vim*< 8.0.0386>= 8.0.0386

Background

Vim is an efficient, highly configurable improved version of the classic ‘vi’ text editor. gVim is the GUI version of Vim.

Description

Multiple vulnerabilities have been discovered in Vim and gVim. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could entice a user to open a specially crafted spell file using Vim or gVim, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Vim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-8.0.0386"

All gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/gvim-8.0.0386"

References

▸ GLSA 201701-29 Vim, gVim: Remote execution of arbitrary code this version unaffected normal remote 2017-01-11

A vulnerability has been found in Vim and gVim concerning how certain modeline options are treated.

Announced
2017-01-11
Revised
2017-01-11
Access
remote
Bugs
#600650
Advisory
https://security.gentoo.org/glsa/201701-29

Affected packages

PackageArchVulnerableUnaffected
app-editors/gvim*< 8.0.0106>= 8.0.0106
app-editors/vim*< 8.0.0106>= 8.0.0106

Background

Vim is an efficient, highly configurable improved version of the classic ‘vi’ text editor. gVim is the GUI version of Vim.

Description

Vim and gVim do not properly validate values for the ‘filetype’, ‘syntax’, and ‘keymap’ options.

Impact

A remote attacker could entice a user to open a specially crafted file using Vim/gVim with certain modeline options enabled possibly resulting in execution of arbitrary code with the privileges of the process.

Workaround

Disabling modeline support in .vimrc by adding “set nomodeline” will prevent exploitation of this flaw. By default, modeline is enabled for ordinary users but disabled for root.

Resolution

All Vim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-8.0.0106"

All gVim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/gvim-8.0.0106"

References

▸ GLSA 200412-10 Vim, gVim: Vulnerable options in modelines this version unaffected normal local 2004-12-15

Several vulnerabilities related to the use of options in modelines have been found and fixed in Vim. They could potentially result in a local user escalating privileges.

Announced
2004-12-15
Revised
2004-12-15
Access
local
Bugs
#73715
Advisory
https://security.gentoo.org/glsa/200412-10

Affected packages

PackageArchVulnerableUnaffected
app-editors/gvim*< 6.3-r2>= 6.3-r2
app-editors/vim*< 6.3-r2>= 6.3-r2

Background

Vim is an efficient, highly configurable improved version of the classic 'vi' text editor. gVim is the GUI version of Vim.

Description

Gentoo's Vim maintainer, Ciaran McCreesh, found several vulnerabilities related to the use of options in Vim modelines. Options like 'termcap', 'printdevice', 'titleold', 'filetype', 'syntax', 'backupext', 'keymap', 'patchmode' or 'langmenu' could be abused.

Impact

A local attacker could write a malicious file in a world readable location which, when opened in a modeline-enabled Vim, could trigger arbitrary commands with the rights of the user opening the file, resulting in privilege escalation. Please note that modelines are disabled by default in the /etc/vimrc file provided in Gentoo.

Workaround

There is no known workaround at this time.

Resolution

All Vim users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/vim-6.3-r2"

All gVim users should also upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-editors/gvim-6.3-r2"

References