{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.2.3"
                  },
                  {
                    "last_affected": "2.11.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "97c6bd01990090d4015364ae37dd141f3c39a30f"
            },
            {
              "last_affected": "bbdb35e85b68284cb20ad8876c56e9b80175babb"
            }
          ],
          "repo": "https://github.com/libexpat/libexpat",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-331"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139881.json"
  },
  "details": "libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictable hash salt after short reads. Attackers can craft XML documents with names colliding in the parser's hash tables, causing hash flooding and excessive CPU consumption.",
  "id": "CVE-2026-139881",
  "modified": "2026-11-30T18:46:10.224258816Z",
  "published": "2026-11-30T16:20:39.076Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139881.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/libexpat/libexpat"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/random_dev_urandom.c#L47-L74"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/libexpat/libexpat/blob/R_2_11_0/expat/lib/xmlparse.c#L1166-L1190"
    },
    {
      "type": "FIX",
      "url": "https://github.com/libexpat/libexpat/pull/1542"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139881"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/libexpat-2.2.3-through-2.11.0-insufficient-entropy-via-dev-urandom-short-read"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "libexpat 2.2.3 through 2.11.0 Insufficient Entropy via /dev/urandom Short Read"
}