{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "9.2.0320"
              },
              {
                "fixed": "9.2.0679"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "ff41e9d853ef3e366575e375d8c40cf11d5e331b"
            },
            {
              "fixed": "b3faeecc976d3031d7c0675623516ec60c30f949"
            }
          ],
          "repo": "https://github.com/vim/vim",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-ww8h-47xp-hp4w"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57454.json"
  },
  "details": "Vim is an open source, command line text editor. From 9.2.0320 until 9.2.0679, a crafted undo or swap file can store a virtual-text property whose offset and length point outside the line's property data. When Vim restores or displays such a line it converts the offset into a pointer and reads the virtual text without bounds checking, causing an out-of-bounds read that can crash Vim or disclose adjacent heap memory. This vulnerability is fixed in 9.2.0679.",
  "id": "CVE-2026-57454",
  "modified": "2026-07-08T05:37:26.655362958Z",
  "published": "2026-06-25T15:24:54.196Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/vim/vim/releases/tag/v9.2.0679"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57454.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vim/vim/security/advisories/GHSA-ww8h-47xp-hp4w"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57454"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vim/vim/commit/b3faeecc976d3031d7c0675623516ec60c30f949"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Vim: Out-of-bounds Read with Text Properties"
}