Skip to content
Heist/ feed
Back to feed
UnratedFix available

vim: Fix of 6 CVEs

Type: advisorySources: OSV

- CVE-2021-4069: copy ml_get_curline() in ex_open() so a flushed line buffer is not used after vim_regexec() - CVE-2022-2000: truncate IObuff with "..." in append_command() when remaining space is below threshold - CVE-2022-3099: guard do_cmdline() breakpoint lookup with lines_ga.ga_len > current_line check - CVE-2022-1968: introduce get_line_and_copy() in find_pattern_in_path() so mark-based regex cannot invalidate the line - CVE-2022-0443: cache buf_valid() in set_curbuf() and fall back to lastbuf when buffer was wiped out - CVE-2022-1735: add check_visual_pos() and call it after every change/stop_insert so VIsual mark is clamped

Products
vim-X11, vim-common, vim-enhanced, vim-filesystem, vim-minimal
Affected versions
Not specified
Fixed versions
2:8.0.1763-16.el8.tuxcare.els3
CVEs
CVE-2021-4069, CVE-2022-0443, CVE-2022-1735, CVE-2022-1968, CVE-2022-2000, CVE-2022-3099
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:55 UTC · Revision 1

Source evidence

vim: Fix of 6 CVEs

core-osv · Original source

Published 19 May 2026, 09:26 UTC

- CVE-2021-4069: copy ml_get_curline() in ex_open() so a flushed line buffer is not used after vim_regexec() - CVE-2022-2000: truncate IObuff with "..." in append_command() when remaining space is below threshold - CVE-2022-3099: guard do_cmdline() breakpoint lookup with lines_ga.ga_len > current_line check - CVE-2022-1968: introduce get_line_and_copy() in find_pattern_in_path() so mark-based regex cannot invalidate the line - CVE-2022-0443: cache buf_valid() in set_curbuf() and fall back to lastbuf when buffer was wiped out - CVE-2022-1735: add check_visual_pos() and call it after every change/stop_insert so VIsual mark is clamped

osv:CLSA-2026-1779182780

vim-X11

Fixed versions: 2:8.0.1763-16.el8.tuxcare.els3

vim-common

Fixed versions: 2:8.0.1763-16.el8.tuxcare.els3

vim-enhanced

Fixed versions: 2:8.0.1763-16.el8.tuxcare.els3

vim-filesystem

Fixed versions: 2:8.0.1763-16.el8.tuxcare.els3

vim-minimal

Fixed versions: 2:8.0.1763-16.el8.tuxcare.els3

Complete source record
{
  "id": "13a124065f41c21a51a1933b4c13e7a88e38b246997308d35f43f603a7c73dc5",
  "url": "https://osv.dev/vulnerability/CLSA-2026-1779182780",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vim: Fix of 6 CVEs",
    "summary": "- CVE-2021-4069: copy ml_get_curline() in ex_open() so a flushed line buffer is not used after vim_regexec() - CVE-2022-2000: truncate IObuff with \"...\" in append_command() when remaining space is below threshold - CVE-2022-3099: guard do_cmdline() breakpoint lookup with lines_ga.ga_len > current_line check - CVE-2022-1968: introduce get_line_and_copy() in find_pattern_in_path() so mark-based regex cannot invalidate the line - CVE-2022-0443: cache buf_valid() in set_curbuf() and fall back to lastbuf when buffer was wiped out - CVE-2022-1735: add check_visual_pos() and call it after every change/stop_insert so VIsual mark is clamped",
    "evidence": "osv:CLSA-2026-1779182780",
    "products": [
      {
        "name": {
          "value": "vim-X11",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:8.0.1763-16.el8.tuxcare.els3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-common",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:8.0.1763-16.el8.tuxcare.els3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-enhanced",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:8.0.1763-16.el8.tuxcare.els3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-filesystem",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:8.0.1763-16.el8.tuxcare.els3",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-minimal",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:8.0.1763-16.el8.tuxcare.els3",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2026-1779182780",
      "aliases": [
        "CLSA-2026-1779182780"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:8.0.1763-16.el8.tuxcare.els3"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-X11",
            "purl": "pkg:rpm/tuxcare/vim-X11?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1779182780.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:8.0.1763-16.el8.tuxcare.els3"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-common",
            "purl": "pkg:rpm/tuxcare/vim-common?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1779182780.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:8.0.1763-16.el8.tuxcare.els3"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-enhanced",
            "purl": "pkg:rpm/tuxcare/vim-enhanced?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1779182780.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:8.0.1763-16.el8.tuxcare.els3"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-filesystem",
            "purl": "pkg:rpm/tuxcare/vim-filesystem?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1779182780.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:8.0.1763-16.el8.tuxcare.els3"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-minimal",
            "purl": "pkg:rpm/tuxcare/vim-minimal?distro=centos-8.4",
            "ecosystem": "TuxCare:CentOS:8.4"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos8.4els/CLSA-2026-1779182780.json"
          }
        }
      ],
      "modified": "2026-10-21T10:47:59.429033609Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-4069",
        "CVE-2022-0443",
        "CVE-2022-1735",
        "CVE-2022-1968",
        "CVE-2022-2000",
        "CVE-2022-3099"
      ],
      "references": [
        "https://errata.tuxcare.com/els_os/centos8.4els/CLSA-2026-1779182780.html"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-4069",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-0443",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-1735",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-1968",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-2000",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-3099",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 392481,
  "published_at": "2026-05-19T09:26:24+00:00"
}