Skip to content
Noroxi
CVE-2016-1248· NVD / CVE Program· CNA debian

vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execu

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.

HighCVSS 7.8 · v3.0—No exploit Fix available
Published
Nov 23, 2016
Updated
Jun 16, 2026
EPSS
25.3% · 98th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

39

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
8 / 30 · 25.3%

Affected systems

VendorProduct
vimvim
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux8.0
  • vim vimup to 8.0.0055 inclusive

Versions reported by the vendor

Affected version ranges reported by the assigning authority (debian). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a vim before patch 8.0.0056

    • vim before patch 8.0.0056affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10vimbefore 8.0.0056-r08.0.0056-r0
Alpine:v3.2vimbefore 7.4.712-r17.4.712-r1
Alpine:v3.3vimbefore 7.4.943-r47.4.943-r4
Alpine:v3.4vimbefore 7.4.1831-r27.4.1831-r2
Debian:12neovimbefore 0.1.6-40.1.6-4
Debian:12vimbefore 2:8.0.0095-12:8.0.0095-1
Debian:7vimbefore 2:7.3.547-7+deb7u12:7.3.547-7+deb7u1
Debian:8vimbefore 2:7.4.488-7+deb8u12:7.4.488-7+deb8u1
Red Hat:enterprise_linux:6::clientvimbefore 2:7.4.629-5.el6_8.12:7.4.629-5.el6_8.1
Red Hat:enterprise_linux:6::clientvim-commonbefore 2:7.4.629-5.el6_8.12:7.4.629-5.el6_8.1
Red Hat:enterprise_linux:6::clientvim-debuginfobefore 2:7.4.629-5.el6_8.12:7.4.629-5.el6_8.1
Red Hat:enterprise_linux:6::clientvim-enhancedbefore 2:7.4.629-5.el6_8.12:7.4.629-5.el6_8.1
Red Hat:enterprise_linux:6::clientvim-filesystembefore 2:7.4.629-5.el6_8.12:7.4.629-5.el6_8.1
Red Hat:enterprise_linux:6::clientvim-minimalbefore 2:7.4.629-5.el6_8.12:7.4.629-5.el6_8.1
Red Hat:enterprise_linux:6::clientvim-X11before 2:7.4.629-5.el6_8.12:7.4.629-5.el6_8.1
Red Hat:enterprise_linux:7::clientvimbefore 2:7.4.160-1.el7_3.12:7.4.160-1.el7_3.1
Red Hat:enterprise_linux:7::clientvim-commonbefore 2:7.4.160-1.el7_3.12:7.4.160-1.el7_3.1
Red Hat:enterprise_linux:7::clientvim-debuginfobefore 2:7.4.160-1.el7_3.12:7.4.160-1.el7_3.1
Red Hat:enterprise_linux:7::clientvim-enhancedbefore 2:7.4.160-1.el7_3.12:7.4.160-1.el7_3.1
Red Hat:enterprise_linux:7::clientvim-filesystembefore 2:7.4.160-1.el7_3.12:7.4.160-1.el7_3.1
Red Hat:enterprise_linux:7::clientvim-minimalbefore 2:7.4.160-1.el7_3.12:7.4.160-1.el7_3.1
Red Hat:enterprise_linux:7::clientvim-X11before 2:7.4.160-1.el7_3.12:7.4.160-1.el7_3.1
SUSE:Linux Enterprise Desktop 12 SP1vimbefore 7.4.326-7.17.4.326-7.1
SUSE:Linux Enterprise Server 11 SP4vimbefore 7.2-8.17.17.2-8.17.1

+1

Same product

vim: all records

Other highest-scoring records for the same primary product.

  • CVE-2008-2712Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properl
    42Plan
  • CVE-2022-0318Heap-based Buffer Overflow in vim/vim
    40Plan
  • CVE-2019-12735getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote attackers to execute arbitrary OS commands via the :source! command i
    40Plan
  • CVE-2017-6350An integer overflow at an unserialize_uep memory allocation site would occur for vim before patch 8.0.0378, if it does not properly validate
    40Plan
  • CVE-2017-6349An integer overflow at a u_read_undo memory allocation site would occur for vim before patch 8.0.0377, if it does not properly validate valu
    40Plan
  • CVE-2017-5953vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overf
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Alpine:vim8.0.0056-r0 · Alpine:v3.10Package registry (OSV)
Debian:neovim0.1.6-4 · Debian:12Package registry (OSV)
Debian:vim2:8.0.0095-1 · Debian:12Package registry (OSV)
Red Hat:vim2:7.4.629-5.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
Red Hat:vim-common2:7.4.629-5.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
Red Hat:vim-debuginfo2:7.4.629-5.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
Red Hat:vim-enhanced2:7.4.629-5.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
Red Hat:vim-filesystem2:7.4.629-5.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
Red Hat:vim-minimal2:7.4.629-5.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
Red Hat:vim-X112:7.4.629-5.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
SUSE:vim7.2-8.17.1 · SUSE:Linux Enterprise Server 11 SP4Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records