CVE-2016-1248
publishedvim: Lack of validation of values for few options results in code exection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | vim before patch 8.0.0056vim before patch 8.0.0056 | Affected | Not stated | debian |
| Alpine Linux | edge | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Debian | jessie | vim | Advisory build | 2:7.4.488-7+deb8u1 | DSA-3722-1 |
| Oracle Linux | 6 | vim-X11i686 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Red Hat Enterprise Linux | RHEL-6 | vimsrc | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Alpine Linux | edge | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.10 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.10 | vim | Fixed | 8.0.0056-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.11 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.11 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.12 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.12 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.13 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.13 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.14 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.14 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.15 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.15 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.16 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.16 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.17 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.17 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.18 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.18 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.19 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.19 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.2 | vim | Fixed | 7.4.712-r1 | Package fix record |
| Alpine Linux | v3.20 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.20 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.21 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.21 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.22 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.22 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.23 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.23 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.24 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.24 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.3 | vim | Fixed | 7.4.943-r4 | Package fix record |
| Alpine Linux | v3.4 | vim | Fixed | 7.4.1831-r2 | Package fix record |
| Alpine Linux | v3.5 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.5 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.6 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.6 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.7 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.7 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.8 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.8 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Alpine Linux | v3.9 | neovim | Fixed | 0.1.6-r1 | Package fix record |
| Alpine Linux | v3.9 | vim | Fixed | 8.0.0056-r0 | Package fix record |
| Debian | wheezy | vim | Advisory build | 2:7.3.547-7+deb7u1 | DLA-718-1 |
| Oracle Linux | 6 | vim-X11sparc64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-X11x86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-commoni686 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-commonsparc64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-commonx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-enhancedi686 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-enhancedsparc64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-enhancedx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-filesystemi686 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-filesystemsparc64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-filesystemx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-minimali686 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-minimalsparc64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 6 | vim-minimalx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | ELSA-2016-2972 |
| Oracle Linux | 7 | vim-X11x86_64 | Advisory build | 2:7.4.160-1.el7_3.1 | ELSA-2016-2972 |
| Oracle Linux | 7 | vim-commonx86_64 | Advisory build | 2:7.4.160-1.el7_3.1 | ELSA-2016-2972 |
| Oracle Linux | 7 | vim-enhancedx86_64 | Advisory build | 2:7.4.160-1.el7_3.1 | ELSA-2016-2972 |
| Oracle Linux | 7 | vim-filesystemx86_64 | Advisory build | 2:7.4.160-1.el7_3.1 | ELSA-2016-2972 |
| Oracle Linux | 7 | vim-minimalx86_64 | Advisory build | 2:7.4.160-1.el7_3.1 | ELSA-2016-2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-X11i686 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-X11ppc64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-X11s390x | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-X11x86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-commoni686 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-commonppc64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-commons390x | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-commonx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-debuginfoi686 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-debuginfoppc64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-debuginfos390x | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-debuginfox86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-enhancedi686 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-enhancedppc64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-enhanceds390x | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-enhancedx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-filesystemi686 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-filesystemppc64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-filesystems390x | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-filesystemx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-minimali686 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-minimalppc64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-minimals390x | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-6 | vim-minimalx86_64 | Advisory build | 2:7.4.629-5.el6_8.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vimsrc | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11aarch64 | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11ppc64 | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11ppc64le | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11s390x | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vim-X11x86_64 | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vim-commonaarch64 | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
| Red Hat Enterprise Linux | RHEL-7 | vim-commonppc64 | Advisory build | 2:7.4.160-1.el7_3.1 | RHSA-2016:2972 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | vim before patch 8.0.0056 | vim before patch 8.0.0056 (affected) | debian · cna |
Weaknesses
1- OS command injection
References
13- http://openwall.com/lists/oss-security/2016/11/22/20
- RHSA-2016:2972 http://rhn.redhat.com/errata/RHSA-2016-2972.html
- DSA-3722 http://www.debian.org/security/2016/dsa-3722
- 94478 http://www.securityfocus.com/bid/94478
- 1037338 http://www.securitytracker.com/id/1037338
- USN-3139-1 http://www.ubuntu.com/usn/USN-3139-1
- https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog
- https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040
- https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a
- https://github.com/vim/vim/releases/tag/v8.0.0056
- [debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html
- https://lists.debian.org/debian-security-announce/2016/msg00305.html
- GLSA-201701-29 https://security.gentoo.org/glsa/201701-29
Provider assertions
2debian · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 49a8197b5f239e10d5df190c881228bdbf081f8e8964cbc6549b21fd7564bd52
- Ingested
- 23 Sep 2026, 07:41:06 UTC
- Source record
- Official CVE record