Improper input validation in Vim

CVE-2016-1248

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.253 (97.9th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 97.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2016-1248: held from 0.253 to 0.253.

EPSS over last 30 days · oldest: 0.253 · newest: 0.253 · change: 0.000

Affected products

  • Vim
  • Debian Linux — versions 8.0
  • Vim Before Patch 8.0.0056 — versions vim before patch 8.0.0056

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2016-1248?
CVE-2016-1248 is a high-severity vulnerability in Vim, classified under Improper Input Validation. CVSS score: 7.8/10. Published 2016-11-23.
How severe is CVE-2016-1248?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2016-1248 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.