First published: Wed Nov 23 2016(Updated: )
vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.
Credit: security@debian.org
Affected Software | Affected Version | How to fix |
---|---|---|
Vim | <=8.0.0055 | |
Debian | =8.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-1248 is considered a critical vulnerability due to the potential for arbitrary code execution.
To fix CVE-2016-1248, update Vim to version 8.0.0056 or later.
Vim versions prior to 8.0.0056 are affected by CVE-2016-1248.
CVE-2016-1248 impacts systems running affected versions of Vim, including certain Debian Linux distributions.
Modelines are lines in a file that can set editor options, and if crafted maliciously, they can exploit CVE-2016-1248.