Home / vim before patch 8.0.0056 / vim before patch 8.0.0056 / CVE-2016-1248
CVE-2016-1248: is it exploited, and which versions of vim before patch 8.0.0056 are affected and fixed?
CVE-2016-1248 is an improper input validation vulnerability in vim before patch 8.0.0056. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: vim before patch 8.0.0056 vim before patch 8.0.0056 (CVE record by debian). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:45 UTC.
What is 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.
From the CVE record by debian, last updated August 5, 2024, 22:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| vim before patch 8.0.0056 | vim before patch 8.0.0056 |
As the CVE record by debian states it, last updated August 5, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vim | vim | through 8.0.0055 | application |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:41 UTC.
How severe is CVE-2016-1248?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-1248 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 25.3% probability of exploitation activity in the next 30 days, percentile 98.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://lists.debian.org/debian-security-announce/2016/msg00305.html x_refsource_CONFIRM
- http://openwall.com/lists/oss-security/2016/11/22/20 x_refsource_CONFIRM
- GLSA-201701-29 vendor-advisory, x_refsource_GENTOO
- DSA-3722 vendor-advisory, x_refsource_DEBIAN
- https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a x_refsource_CONFIRM
- [debian-lts-announce] 20161122 [SECURITY] [DLA 718-1] vim security update mailing-list, x_refsource_MLIST
- USN-3139-1 vendor-advisory, x_refsource_UBUNTU
- 1037338 vdb-entry, x_refsource_SECTRACK
- https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040 x_refsource_CONFIRM
- 94478 vdb-entry, x_refsource_BID
- https://github.com/vim/vim/releases/tag/v8.0.0056 x_refsource_CONFIRM
- RHSA-2016:2972 vendor-advisory, x_refsource_REDHAT
- https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- December 27, 2015
- Published
- November 23, 2016, 15:00 UTC
- CVE record updated
- August 5, 2024, 22:48 UTC by debian
- NVD
- Modified, last modified June 17, 2026, 00:41 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2016-1248
Is CVE-2016-1248 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 25.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of vim before patch 8.0.0056 are affected by CVE-2016-1248?
vim before patch 8.0.0056 vim before patch 8.0.0056, per the CVE record by debian. The tables above give every range the sources list.
Which version fixes CVE-2016-1248?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2016-1248?
High (7.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-1248?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.