CVE-2026-59856: Vim is an open source, command line text editor
Affects vimSource GCVE Database
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
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSvimpkg:deb/ubuntu/vim?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
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
- ubuntu.com/security/CVE-2026-59856 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-59856 (opens in a new tab)
- github.com/vim/vim/security/advisories/GHSA-fh26-8f79-wj97 (opens in a new tab)
- github.com/vim/vim/commit/43afc581a37a35762dd0ef292f038b9dc5680a24 (opens in a new tab)
- ubuntu.com/security/notices/USN-8541-1 (opens in a new tab)