PT-2019-3260
CVE-2019-12735
·
Published
2019-06-05
·
Updated
2026-10-31
Description by
CVSS 2.0
9.3
HighMetricsAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Vim versions prior to 8.1.1365
Neovim versions prior to 0.3.6
Description
The issue is related to the lack of filtering in the
:source! command in a modeline, which allows remote attackers to execute arbitrary OS commands. This can lead to unauthorized access to confidential data, disruption of data integrity, and denial of service. The problem occurs when the modeline mode is enabled, which is on by default and allows setting editing options within a file.Recommendations
For Vim versions prior to 8.1.1365, update to version 8.1.1365 or later to resolve the issue.
For Neovim versions prior to 0.3.6, update to version 0.3.6 or later to resolve the issue.
As a temporary workaround, consider disabling the modeline mode by setting
:set nomodeline until a patch is available.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾