{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.6.0"
                  },
                  {
                    "last_affected": "2.11.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "849da3e3fe727fccef5e96ef35482d66447f06a2"
            },
            {
              "last_affected": "bbdb35e85b68284cb20ad8876c56e9b80175babb"
            }
          ],
          "repo": "https://github.com/libexpat/libexpat",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137951.json"
  },
  "details": "libexpat 2.6.0 through 2.11.0 built with XML_GE=0 and XML_UNICODE contains an out-of-bounds read in storeSelfEntityValue() because narrow string literals are treated as wide strings. Attackers can supply an XML document whose DOCTYPE declares a general entity to expose adjacent static memory through the entity value or crash the parser.",
  "id": "CVE-2026-137951",
  "modified": "2026-11-27T16:45:49.794030085Z",
  "published": "2026-11-27T15:22:32.977Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137951.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/libexpat/libexpat"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/libexpat/libexpat/blob/bbdb35e85b68284cb20ad8876c56e9b80175babb/expat/lib/xmlparse.c#L8042-L8054"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libexpat/libexpat/pull/1534"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137951"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libexpat-2.6.0-through-2.11.0-out-of-bounds-read-via-storeselfentityvalue"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libexpat 2.6.0 through 2.11.0 Out-of-Bounds Read via storeSelfEntityValue"
}