Skip to content
Heist/ feed
Back to feed
UnratedFix available

vim: Fix of 10 CVEs

Type: advisorySources: OSV

- CVE-2023-0054: check the return value of vim_regsub() - CVE-2023-0049: avoid going over the NUL at the end - CVE-2023-0288: prevent the cursor from moving to line zero - CVE-2023-0433: check for not going over the end of the line - CVE-2023-2610: limit the text length to MAXCOL - CVE-2023-4750: check buffer is valid before accessing it - CVE-2023-4733: verify oldwin pointer after reset_VIsual() - CVE-2023-4751: stop Visual mode when using :ball - CVE-2023-5344: add NULL at end of buffer - CVE-2024-22667: pass size of errbuf down the call stack, use snprintf()

Products
vim-X11, vim-common, vim-enhanced, vim-filesystem, vim-minimal
Affected versions
Not specified
Fixed versions
2:7.4.629-8.el7_9.tuxcare.els1
CVEs
CVE-2023-0049, CVE-2023-0054, CVE-2023-0288, CVE-2023-0433, CVE-2023-2610, CVE-2023-4733, CVE-2023-4750, CVE-2023-4751, CVE-2023-5344, CVE-2024-22667
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:54 UTC · Revision 1

Source evidence

vim: Fix of 10 CVEs

core-osv · Original source

Published 12 Jul 2024, 09:36 UTC

- CVE-2023-0054: check the return value of vim_regsub() - CVE-2023-0049: avoid going over the NUL at the end - CVE-2023-0288: prevent the cursor from moving to line zero - CVE-2023-0433: check for not going over the end of the line - CVE-2023-2610: limit the text length to MAXCOL - CVE-2023-4750: check buffer is valid before accessing it - CVE-2023-4733: verify oldwin pointer after reset_VIsual() - CVE-2023-4751: stop Visual mode when using :ball - CVE-2023-5344: add NULL at end of buffer - CVE-2024-22667: pass size of errbuf down the call stack, use snprintf()

osv:CLSA-2024-1720776957

vim-X11

Fixed versions: 2:7.4.629-8.el7_9.tuxcare.els1

vim-common

Fixed versions: 2:7.4.629-8.el7_9.tuxcare.els1

vim-enhanced

Fixed versions: 2:7.4.629-8.el7_9.tuxcare.els1

vim-filesystem

Fixed versions: 2:7.4.629-8.el7_9.tuxcare.els1

vim-minimal

Fixed versions: 2:7.4.629-8.el7_9.tuxcare.els1

Complete source record
{
  "id": "07b9a226e2e5503078aa06b466acbabcf06992ceecba8fe5be433c1c168da745",
  "url": "https://osv.dev/vulnerability/CLSA-2024-1720776957",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "vim: Fix of 10 CVEs",
    "summary": "- CVE-2023-0054: check the return value of vim_regsub() - CVE-2023-0049: avoid going over the NUL at the end - CVE-2023-0288: prevent the cursor from moving to line zero - CVE-2023-0433: check for not going over the end of the line - CVE-2023-2610: limit the text length to MAXCOL - CVE-2023-4750: check buffer is valid before accessing it - CVE-2023-4733: verify oldwin pointer after reset_VIsual() - CVE-2023-4751: stop Visual mode when using :ball - CVE-2023-5344: add NULL at end of buffer - CVE-2024-22667: pass size of errbuf down the call stack, use snprintf()",
    "evidence": "osv:CLSA-2024-1720776957",
    "products": [
      {
        "name": {
          "value": "vim-X11",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:7.4.629-8.el7_9.tuxcare.els1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-common",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:7.4.629-8.el7_9.tuxcare.els1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-enhanced",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:7.4.629-8.el7_9.tuxcare.els1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-filesystem",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:7.4.629-8.el7_9.tuxcare.els1",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-minimal",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:7.4.629-8.el7_9.tuxcare.els1",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2024-1720776957",
      "aliases": [
        "CLSA-2024-1720776957"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:7.4.629-8.el7_9.tuxcare.els1"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-X11",
            "purl": "pkg:rpm/tuxcare/vim-X11?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:7.4.629-8.el7_9.tuxcare.els1"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-common",
            "purl": "pkg:rpm/tuxcare/vim-common?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:7.4.629-8.el7_9.tuxcare.els1"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-enhanced",
            "purl": "pkg:rpm/tuxcare/vim-enhanced?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:7.4.629-8.el7_9.tuxcare.els1"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-filesystem",
            "purl": "pkg:rpm/tuxcare/vim-filesystem?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:7.4.629-8.el7_9.tuxcare.els1"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-minimal",
            "purl": "pkg:rpm/tuxcare/vim-minimal?distro=centos-7",
            "ecosystem": "TuxCare:CentOS:7"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"
          }
        }
      ],
      "modified": "2026-10-21T10:47:53.877511832Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-0049",
        "CVE-2023-0054",
        "CVE-2023-0288",
        "CVE-2023-0433",
        "CVE-2023-2610",
        "CVE-2023-4733",
        "CVE-2023-4750",
        "CVE-2023-4751",
        "CVE-2023-5344",
        "CVE-2024-22667"
      ],
      "references": [
        "https://errata.tuxcare.com/centos7-els/CLSA-2024-1720776957.html"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-0049",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-0054",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-0288",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-0433",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-2610",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-4733",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-4750",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-4751",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-5344",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2024-22667",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 392437,
  "published_at": "2024-07-12T09:36:00+00:00"
}