7.8
CWE
20 77 78
Advisory Published
Updated

CVE-2016-1248: Input Validation

First published: Wed Nov 23 2016(Updated: )

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.

Credit: security@debian.org

Affected SoftwareAffected VersionHow to fix
Vim<=8.0.0055
Debian=8.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2016-1248?

    CVE-2016-1248 is considered a critical vulnerability due to the potential for arbitrary code execution.

  • How do I fix CVE-2016-1248?

    To fix CVE-2016-1248, update Vim to version 8.0.0056 or later.

  • What versions of Vim are affected by CVE-2016-1248?

    Vim versions prior to 8.0.0056 are affected by CVE-2016-1248.

  • What types of systems are impacted by CVE-2016-1248?

    CVE-2016-1248 impacts systems running affected versions of Vim, including certain Debian Linux distributions.

  • What are modelines in the context of CVE-2016-1248?

    Modelines are lines in a file that can set editor options, and if crafted maliciously, they can exploit CVE-2016-1248.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203