CVE-2016-1248

Summary

CVECVE-2016-1248
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-11-23 15:59:00 UTC
Updated2017-07-28 01:29:00 UTC
Descriptionvim 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.

Risk And Classification

Problem Types: CWE-20

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Vim Vim All All All All

References

ReferenceSourceLinkTags
USN-3139-1: Vim vulnerability | Ubuntu UBUNTU www.ubuntu.com
pkg-vim/vim - Debian's packaging of the Vim project CONFIRM anonscm.debian.org Patch, Third Party Advisory
oss-security - vim/neovim: Arbitrary command execution (CVE-2016-1248) CONFIRM openwall.com Patch, Third Party Advisory
Debian -- Security Information -- DSA-3722-1 vim DEBIAN www.debian.org
Release v8.0.0056: patch 8.0.0056 · vim/vim · GitHub CONFIRM github.com Patch, Vendor Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com
Vim, gVim: Remote execution of arbitrary code (GLSA 201701-29) — Gentoo security GENTOO security.gentoo.org
Vim modeline 'filetype' Input Validation Flaw Lets Remote Users Execute Arbitrary Code - SecurityTracker SECTRACK www.securitytracker.com
vim-patch:8.0.0056 · neovim/neovim@4fad66f · GitHub CONFIRM github.com Patch, Vendor Advisory
Neovim CVE-2016-1248 Command Execution Vulnerability BID www.securityfocus.com
[SECURITY] [DLA 718-1] vim security update MLIST lists.debian.org Mailing List, Third Party Advisory
patch 8.0.0056 · vim/vim@d0b5138 · GitHub CONFIRM github.com Patch, Vendor Advisory
[SECURITY] [DSA 3722-1] vim security update CONFIRM lists.debian.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500721 Alpine Linux Security Update for vim
  • 501090 Alpine Linux Security Update for neovim
  • 504495 Alpine Linux Security Update for vim
  • 710405 Gentoo Linux Vim, gVim Remote execution of arbitrary code Vulnerability (GLSA 201701-29)
  • 753066 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report