Advisory

USN-3139-1

Also known as: CVE-2016-1248

Summary

vim vulnerability

Details

Florian Larysch discovered that the Vim text editor did not properly
validate values for the 'filetype', 'syntax', and 'keymap' options. An
attacker could trick a user into opening a file with specially crafted
modelines and possibly execute arbitrary code with the user's privileges.

Severity

Not rated by the source.

Dates

Published
2016-11-29 00:21 UTC
Modified
2026-02-10 04:41 UTC

Affected packages and fixes

vim

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2:7.4.052-1ubuntu3.1 (ecosystem)

Fixed versions

2:7.4.052-1ubuntu3.1

Fix

  • Fixed version 2:7.4.052-1ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

vim

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2:7.4.1689-3ubuntu1.2 (ecosystem)

Fixed versions

2:7.4.1689-3ubuntu1.2

Fix

  • Fixed version 2:7.4.1689-3ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences