Skip to content
Heist/ feed
Back to feed
UnratedFix available

Fixed CVEs in vim: CVE-2022-1851, CVE-2022-1898, CVE-2022-1886, CVE-2022-0319

Type: advisorySources: OSV

- CVE-2022-0319: correct end of Visual area when entering another buffer - CVE-2022-1851: fix invalid cursor position after text formatting - CVE-2022-1886: fix access before start of text with a put command - CVE-2022-1898: fix using freed memory with ']d'

Products
vim-X11, vim-common, vim-enhanced, vim-filesystem, vim-minimal
Affected versions
Not specified
Fixed versions
3:7.4.629-5.2.el6.tuxcare.els15
CVEs
CVE-2022-0319, CVE-2022-1851, CVE-2022-1886, CVE-2022-1898
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 14:08 UTC · Revision 1

Source evidence

Fixed CVEs in vim: CVE-2022-1851, CVE-2022-1898, CVE-2022-1886, CVE-2022-0319

core-osv · Original source

Published 9 Jun 2022, 19:50 UTC

- CVE-2022-0319: correct end of Visual area when entering another buffer - CVE-2022-1851: fix invalid cursor position after text formatting - CVE-2022-1886: fix access before start of text with a put command - CVE-2022-1898: fix using freed memory with ']d'

osv:CLSA-2022-1654804240

vim-X11

Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els15

vim-common

Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els15

vim-enhanced

Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els15

vim-filesystem

Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els15

vim-minimal

Fixed versions: 3:7.4.629-5.2.el6.tuxcare.els15

Complete source record
{
  "id": "9a4b2e89e32aa8a358c21f1aaeee05f062f0be148b3486848a6b4b5d3512d6f4",
  "url": "https://osv.dev/vulnerability/CLSA-2022-1654804240",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Fixed CVEs in vim: CVE-2022-1851, CVE-2022-1898, CVE-2022-1886, CVE-2022-0319",
    "summary": "- CVE-2022-0319: correct end of Visual area when entering another buffer - CVE-2022-1851: fix invalid cursor position after text formatting - CVE-2022-1886: fix access before start of text with a put command - CVE-2022-1898: fix using freed memory with ']d'",
    "evidence": "osv:CLSA-2022-1654804240",
    "products": [
      {
        "name": {
          "value": "vim-X11",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.629-5.2.el6.tuxcare.els15",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-common",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.629-5.2.el6.tuxcare.els15",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-enhanced",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.629-5.2.el6.tuxcare.els15",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-filesystem",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.629-5.2.el6.tuxcare.els15",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "vim-minimal",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3:7.4.629-5.2.el6.tuxcare.els15",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CLSA-2022-1654804240",
      "aliases": [
        "CLSA-2022-1654804240"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.629-5.2.el6.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-X11",
            "purl": "pkg:rpm/tuxcare/vim-X11?distro=oraclelinux-6",
            "ecosystem": "TuxCare:OracleLinux:6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1654804240.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.629-5.2.el6.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-common",
            "purl": "pkg:rpm/tuxcare/vim-common?distro=oraclelinux-6",
            "ecosystem": "TuxCare:OracleLinux:6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1654804240.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.629-5.2.el6.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-enhanced",
            "purl": "pkg:rpm/tuxcare/vim-enhanced?distro=oraclelinux-6",
            "ecosystem": "TuxCare:OracleLinux:6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1654804240.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.629-5.2.el6.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-filesystem",
            "purl": "pkg:rpm/tuxcare/vim-filesystem?distro=oraclelinux-6",
            "ecosystem": "TuxCare:OracleLinux:6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1654804240.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3:7.4.629-5.2.el6.tuxcare.els15"
                }
              ]
            }
          ],
          "package": {
            "name": "vim-minimal",
            "purl": "pkg:rpm/tuxcare/vim-minimal?distro=oraclelinux-6",
            "ecosystem": "TuxCare:OracleLinux:6"
          },
          "database_specific": {
            "source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/oraclelinux6els/CLSA-2022-1654804240.json"
          }
        }
      ],
      "modified": "2026-10-21T10:48:24.212171195Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-0319",
        "CVE-2022-1851",
        "CVE-2022-1886",
        "CVE-2022-1898"
      ],
      "references": [
        "https://errata.cloudlinux.com/ol6/CLSA-2022-1654804240.html"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-0319",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-1851",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-1886",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-1898",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 392963,
  "published_at": "2022-06-09T19:50:40+00:00"
}