Vulnerabilities · 2016 · Vim
CVE-2016-1248
Vim vulnerability
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.
Affected products
Vim, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040 · Patch
- github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a · Patch
- github.com/vim/vim/releases/tag/v8.0.0056 · Patch
- openwall.com/lists/oss-security/2016/11/22/20 · Patch
- anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog · Patch
- lists.debian.org/debian-lts-announce/2016/11/msg00025.html · Third Party Advisory
- lists.debian.org/debian-security-announce/2016/msg00305.html · Third Party Advisory
- rhn.redhat.com/errata/RHSA-2016-2972.html
- nvd.nist.gov/vuln/detail/CVE-2016-1248
- cve.org/CVERecord?id=CVE-2016-1248
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.