Skip to content
OpenAdvisories
High USN-8541-1 3 CVEs

vim vulnerabilities

Published Jul 14, 2026 · Updated Jul 15, 2026

Summary

Hirohito Higashi discovered that Vim incorrectly escaped class or trait
names when performing PHP omni-completion. An attacker could possibly
use this issue to trick a user into opening a specially crafted PHP
file and executing arbitrary commands. This issue only affected Ubuntu
22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-59856)

Hirohito Higashi discovered that Vim incorrectly handled sound-folding
of certain words when using a spell file. An attacker could possibly
use this issue to cause Vim to crash, resulting in a denial of service.
(CVE-2026-59857)

It was discovered that Vim incorrectly escaped certain tags file fields
when performing C omni-completion. An attacker could possibly use this
issue to trick a user into opening a specially crafted file and
executing arbitrary commands. (CVE-2026-59858)

Fixed packages 7

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS vim 2:8.2.3995-1ubuntu2.34
Ubuntu · 24.04 LTS 24.04:LTS vim 2:9.1.0016-1ubuntu7.18
Ubuntu · 26.04 LTS 26.04:LTS vim 2:9.1.2141-1ubuntu4.7
Ubuntu · Pro 14.04 LTS Pro:14.04:LTS vim 2:7.4.052-1ubuntu3.1+esm31
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS vim 2:7.4.1689-3ubuntu1.5+esm37
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS vim 2:8.0.1453-1ubuntu1.13+esm22
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS vim 2:8.1.2269-1ubuntu5.32+esm10

Vulnerabilities 3

  • High 8.4

    Vim: Arbitrary Code Execution via PHP Omni-Completion

    Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via wi…

  • High 8.4

    Vim: Arbitrary Code Execution via C Omni-Completion

    Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completion script in runtime/autoload/ccomplete.vim interpolates the typeref: or typename: extension field of a tags entry, without escaping, into a :vimgrep pattern that is run th…

  • Medium 5.6

    Vim: Out-of-bounds Write in SAL Soundfolding

    Vim is an open source, command line text editor. Prior to 9.2.0725, the single-byte branch of spell_soundfold_sal() in src/spell.c translates a word through a spell file's SAL sound-folding rules into a caller-owned result buffer, but its result writes are gu…

References

  • report
    https://ubuntu.com/security/CVE-2026-59856
  • report
    https://ubuntu.com/security/CVE-2026-59857
  • report
    https://ubuntu.com/security/CVE-2026-59858