{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "9.0.0045"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "caea66442d86e7bbba3bf3dc202c3c0d549b9853"
            },
            {
              "fixed": "baefde14550231f6468ac2ed2ed495bc381c0c92"
            }
          ],
          "repo": "https://github.com/vim/vim",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2344.json"
  },
  "details": "Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0045.",
  "id": "CVE-2022-2344",
  "modified": "2026-08-12T03:51:25.525169414Z",
  "published": "2022-07-08T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/4a095ed9-3125-464a-b656-c31b437e1996"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2344.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/43Y3VJPOTTY3NTREDIFUPITM2POG4ZLP/"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2344"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202208-32"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/202305-16"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vim/vim/commit/baefde14550231f6468ac2ed2ed495bc381c0c92"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Heap-based Buffer Overflow in vim/vim"
}