Skip to content
Heist/ feed
Back to feed
UnratedFix available

Fix CVE(s): CVE-2026-59858

Type: advisorySources: OSV

* SECURITY UPDATE: arbitrary Ex command execution during C omni-completion: the C omni-completion script interpolated the typeref/typename tag field of a tags entry, without escaping, into a :vimgrep pattern run through :execute. Because :vimgrep honours the bar as a command separator, a crafted tag field could close the search pattern and append an arbitrary Ex command, which ran when C omni-completion was invoked on a hostile .c file whose project tags file carried such an entry. - debian/patches/CVE-2026-59858.patch: escape the type field with escape(typename, '/\') before building the :vimgrep pattern in s:StructMembers(), in runtime/autoload/ccomplete.vim; matches upstream patch 9.2.0735. - CVE-2026-59858

Products
vim, vim-athena, vim-athena-py2, vim-common, vim-doc, vim-gnome, vim-gnome-py2, vim-gtk, vim-gtk-py2, vim-gtk3, vim-gtk3-py2, vim-gui-common, vim-nox, vim-nox-py2, vim-runtime, vim-tiny
Affected versions
Not specified
Fixed versions
3:7.4.1689-3ubuntu1.5+tuxcare.els71
CVEs
CVE-2026-59858
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 11:09 UTC · Revision 1

Source evidence

Fix CVE(s): CVE-2026-59858

core-osv · Original source

Published 23 Jul 2026, 09:42 UTC

* SECURITY UPDATE: arbitrary Ex command execution during C omni-completion: the C omni-completion script interpolated the typeref/typename tag field of a tags entry, without escaping, into a :vimgrep pattern run through :execute. Because :vimgrep honours the bar as a command separator, a crafted tag field could close the search pattern and append an arbitrary Ex command, which ran when C omni-completion was invoked on a hostile .c file whose project tags file carried such an entry. - debian/patches/CVE-2026-59858.patch: escape the type field with escape(typename, '/\') before building the :vimgrep pattern in s:StructMembers(), in runtime/autoload/ccomplete.vim; matches upstream patch 9.2.0735. - CVE-2026-59858

osv:CLSA-2026-1784799711

vim

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-athena

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-athena-py2

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-common

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-doc

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-gnome

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-gnome-py2

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-gtk

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-gtk-py2

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-gtk3

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-gtk3-py2

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-gui-common

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-nox

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-nox-py2

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-runtime

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

vim-tiny

Fixed versions: 3:7.4.1689-3ubuntu1.5+tuxcare.els71

Complete source record
{
  "id": "2a3e6dbbd12ce606185293a02fe973aa01832efd202e619eddd13e5c8f55d882",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1784799711",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Fix CVE(s): CVE-2026-59858",
    "summary": "* SECURITY UPDATE: arbitrary Ex command execution during C omni-completion: the C omni-completion script interpolated the typeref/typename tag field of a tags entry, without escaping, into a :vimgrep pattern run through :execute. Because :vimgrep honours the bar as a command separator, a crafted tag field could close the search pattern and append an arbitrary Ex command, which ran when C omni-completion was invoked on a hostile .c file whose project tags file carried such an entry. - debian/patches/CVE-2026-59858.patch: escape the type field with escape(typename, '/\\') before building the :vimgrep pattern in s:StructMembers(), in runtime/autoload/ccomplete.vim; matches upstream patch 9.2.0735. - CVE-2026-59858",
    "evidence": "osv:CLSA-2026-1784799711",
    "products": [
      {
        "name": {
          "value": "vim",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-athena",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-athena-py2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-common",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-doc",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-gnome",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/5/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-gnome-py2",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/6/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-gtk",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/7/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-gtk-py2",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/8/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-gtk3",
          "evidence": "/affected/9/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/9/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-gtk3-py2",
          "evidence": "/affected/10/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/10/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-gui-common",
          "evidence": "/affected/11/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/11/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-nox",
          "evidence": "/affected/12/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/12/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-nox-py2",
          "evidence": "/affected/13/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/13/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-runtime",
          "evidence": "/affected/14/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/14/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-tiny",
          "evidence": "/affected/15/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.1689-3ubuntu1.5+tuxcare.els71",
            "evidence": "/affected/15/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1784799711",
      "aliases": [
        "CLSA-2026-1784799711"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim",
            "purl": "pkg:deb/tuxcare/vim?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-athena",
            "purl": "pkg:deb/tuxcare/vim-athena?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-athena-py2",
            "purl": "pkg:deb/tuxcare/vim-athena-py2?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-common",
            "purl": "pkg:deb/tuxcare/vim-common?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-doc",
            "purl": "pkg:deb/tuxcare/vim-doc?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-gnome",
            "purl": "pkg:deb/tuxcare/vim-gnome?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-gnome-py2",
            "purl": "pkg:deb/tuxcare/vim-gnome-py2?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-gtk",
            "purl": "pkg:deb/tuxcare/vim-gtk?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-gtk-py2",
            "purl": "pkg:deb/tuxcare/vim-gtk-py2?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-gtk3",
            "purl": "pkg:deb/tuxcare/vim-gtk3?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-gtk3-py2",
            "purl": "pkg:deb/tuxcare/vim-gtk3-py2?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-gui-common",
            "purl": "pkg:deb/tuxcare/vim-gui-common?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-nox",
            "purl": "pkg:deb/tuxcare/vim-nox?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-nox-py2",
            "purl": "pkg:deb/tuxcare/vim-nox-py2?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-runtime",
            "purl": "pkg:deb/tuxcare/vim-runtime?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.1689-3ubuntu1.5+tuxcare.els71"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-tiny",
            "purl": "pkg:deb/tuxcare/vim-tiny?distro=ubuntu-16.04",
            "ecosystem": "TuxCare:Ubuntu:16.04"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu16.04els/CLSA-2026-1784799711.json"
          }
        }
      ],
      "modified": "2026-10-26T09:31:47.203976046Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-59858"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/ubuntu16.04els/CLSA-2026-1784799711.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-59858"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-59858",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 448479,
  "published_at": "2026-07-23T09:42:17+00:00"
}