FKIE_CVE-2016-1248

Vulnerability from fkie_nvd - Published: 2016-11-23 15:59 - Updated: 2026-06-17 00:41
Summary
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.
References
security@debian.orghttp://openwall.com/lists/oss-security/2016/11/22/20Patch, Third Party Advisory
security@debian.orghttp://rhn.redhat.com/errata/RHSA-2016-2972.html
security@debian.orghttp://www.debian.org/security/2016/dsa-3722
security@debian.orghttp://www.securityfocus.com/bid/94478
security@debian.orghttp://www.securitytracker.com/id/1037338
security@debian.orghttp://www.ubuntu.com/usn/USN-3139-1
security@debian.orghttps://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelogPatch, Third Party Advisory
security@debian.orghttps://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040Patch, Vendor Advisory
security@debian.orghttps://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39aPatch, Vendor Advisory
security@debian.orghttps://github.com/vim/vim/releases/tag/v8.0.0056Patch, Vendor Advisory
security@debian.orghttps://lists.debian.org/debian-lts-announce/2016/11/msg00025.htmlMailing List, Third Party Advisory
security@debian.orghttps://lists.debian.org/debian-security-announce/2016/msg00305.htmlThird Party Advisory
security@debian.orghttps://security.gentoo.org/glsa/201701-29
af854a3a-2127-422b-91ae-364da2661108http://openwall.com/lists/oss-security/2016/11/22/20Patch, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2016-2972.html
af854a3a-2127-422b-91ae-364da2661108http://www.debian.org/security/2016/dsa-3722
af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/94478
af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1037338
af854a3a-2127-422b-91ae-364da2661108http://www.ubuntu.com/usn/USN-3139-1
af854a3a-2127-422b-91ae-364da2661108https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelogPatch, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39aPatch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://github.com/vim/vim/releases/tag/v8.0.0056Patch, Vendor Advisory
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2016/11/msg00025.htmlMailing List, Third Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-security-announce/2016/msg00305.htmlThird Party Advisory
af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/201701-29
Impacted products
Vendor Product Version
vim vim *
debian debian_linux 8.0

{
  "affected": [
    {
      "affectedData": [
        {
          "product": "vim before patch 8.0.0056",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "vim before patch 8.0.0056"
            }
          ]
        }
      ],
      "source": "security@debian.org"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "6C46FDA7-FFAC-47FC-844E-327A0F14E824",
              "versionEndIncluding": "8.0.0055",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    },
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "matchCriteriaId": "C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "vim before patch 8.0.0056 does not properly validate values for the \u0027filetype\u0027, \u0027syntax\u0027 and \u0027keymap\u0027 options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened."
    },
    {
      "lang": "es",
      "value": "vim en versiones anteriores a patch 8.0.0056 no valida correctamente los valores para las opciones \u0027filetype\u0027, \u0027syntax\u0027 y \u0027keymap\u0027, lo que puede resulta en la ejecuci\u00f3n de c\u00f3digo arbitrario si se abre un archivo con una l\u00ednea de modo especialmente manipulada."
    }
  ],
  "id": "CVE-2016-1248",
  "lastModified": "2026-06-17T00:41:33.137",
  "metrics": {
    "cvssMetricV2": [
      {
        "acInsufInfo": false,
        "baseSeverity": "MEDIUM",
        "cvssData": {
          "accessComplexity": "MEDIUM",
          "accessVector": "NETWORK",
          "authentication": "NONE",
          "availabilityImpact": "PARTIAL",
          "baseScore": 6.8,
          "confidentialityImpact": "PARTIAL",
          "integrityImpact": "PARTIAL",
          "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
          "version": "2.0"
        },
        "exploitabilityScore": 8.6,
        "impactScore": 6.4,
        "obtainAllPrivilege": false,
        "obtainOtherPrivilege": false,
        "obtainUserPrivilege": false,
        "source": "nvd@nist.gov",
        "type": "Primary",
        "userInteractionRequired": true
      }
    ],
    "cvssMetricV30": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "version": "3.0"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ]
  },
  "published": "2016-11-23T15:59:00.137",
  "references": [
    {
      "source": "security@debian.org",
      "tags": [
        "Patch",
        "Third Party Advisory"
      ],
      "url": "http://openwall.com/lists/oss-security/2016/11/22/20"
    },
    {
      "source": "security@debian.org",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-2972.html"
    },
    {
      "source": "security@debian.org",
      "url": "http://www.debian.org/security/2016/dsa-3722"
    },
    {
      "source": "security@debian.org",
      "url": "http://www.securityfocus.com/bid/94478"
    },
    {
      "source": "security@debian.org",
      "url": "http://www.securitytracker.com/id/1037338"
    },
    {
      "source": "security@debian.org",
      "url": "http://www.ubuntu.com/usn/USN-3139-1"
    },
    {
      "source": "security@debian.org",
      "tags": [
        "Patch",
        "Third Party Advisory"
      ],
      "url": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"
    },
    {
      "source": "security@debian.org",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040"
    },
    {
      "source": "security@debian.org",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a"
    },
    {
      "source": "security@debian.org",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://github.com/vim/vim/releases/tag/v8.0.0056"
    },
    {
      "source": "security@debian.org",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ],
      "url": "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html"
    },
    {
      "source": "security@debian.org",
      "tags": [
        "Third Party Advisory"
      ],
      "url": "https://lists.debian.org/debian-security-announce/2016/msg00305.html"
    },
    {
      "source": "security@debian.org",
      "url": "https://security.gentoo.org/glsa/201701-29"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Third Party Advisory"
      ],
      "url": "http://openwall.com/lists/oss-security/2016/11/22/20"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://rhn.redhat.com/errata/RHSA-2016-2972.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.debian.org/security/2016/dsa-3722"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securityfocus.com/bid/94478"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.securitytracker.com/id/1037338"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "http://www.ubuntu.com/usn/USN-3139-1"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Third Party Advisory"
      ],
      "url": "https://anonscm.debian.org/cgit/pkg-vim/vim.git/tree/debian/changelog"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://github.com/neovim/neovim/commit/4fad66fbe637818b6b3d6bc5d21923ba72795040"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://github.com/vim/vim/commit/d0b5138ba4bccff8a744c99836041ef6322ed39a"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ],
      "url": "https://github.com/vim/vim/releases/tag/v8.0.0056"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Mailing List",
        "Third Party Advisory"
      ],
      "url": "https://lists.debian.org/debian-lts-announce/2016/11/msg00025.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "tags": [
        "Third Party Advisory"
      ],
      "url": "https://lists.debian.org/debian-security-announce/2016/msg00305.html"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://security.gentoo.org/glsa/201701-29"
    }
  ],
  "sourceIdentifier": "security@debian.org",
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-20"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…