Skip to main content
VulnerabilityPublished Updated

CVE-2026-59856: Vim is an open source, command line text editor

Affects vimSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.8 High · fixed in 2:8.2.3995-1ubuntu2.34 : patch vim soon.

Data as of 24 Nov 2026, 20:44 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2:8.2.3995-1ubuntu2.34, 2:9.1.0016-1ubuntu7.18, 2:9.1.2141-1ubuntu4.7
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade the Ubuntu vim to 2:8.2.3995-1ubuntu2.34 (package) or 2:9.1.0016-1ubuntu7.18 (package) or 2:9.1.2141-1ubuntu4.7 (package).

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=resoluteOther threatsAffected
  • <2:9.1.2141-1ubuntu4.7
Fixed in
  • 2:9.1.2141-1ubuntu4.7
Ubuntu 24.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=nobleOther threatsAffected
  • <2:9.1.0016-1ubuntu7.18
Fixed in
  • 2:9.1.0016-1ubuntu7.18
Ubuntu 22.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=jammyOther threatsAffected
  • <2:8.2.3995-1ubuntu2.34
Fixed in
  • 2:8.2.3995-1ubuntu2.34

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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 win_execute() without escaping. A name containing a single quote can terminate the search() string argument early, and because the bar is honored as an Ex command separator, the remainder of the name is run as Ex commands; via the :! command this allows arbitrary operating-system command execution when a victim opens a crafted PHP file and invokes omni-completion. This issue is fixed in version 9.2.0736.

References

Community reviews

Loading reviews…