Common Weakness Enumeration

CWE-394

Allowed

Unexpected Status Code or Return Value

Abstraction: Base · Status: Draft

The product does not properly check when a function or operation returns a value that is legitimate for the function, but is not expected by the product.

31 vulnerabilities reference this CWE, most recent first.

GHSA-X282-Q22W-C9HM

Vulnerability from github – Published: 2026-08-20 06:32 – Updated: 2026-08-20 18:30
VLAI
Details

In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks, causing a denial of service via crafted XML content.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-76956"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-394"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-08-20T05:16:29Z",
    "severity": "HIGH"
  },
  "details": "In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy\u0027s return code leads to insufficient entropy, which results in being vulnerable to hash flooding attacks, causing a denial of service via crafted XML content.",
  "id": "GHSA-x282-q22w-c9hm",
  "modified": "2026-08-20T18:30:48Z",
  "published": "2026-08-20T06:32:26Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-76956"
    },
    {
      "type": "WEB",
      "url": "https://github.com/libexpat/libexpat/pull/1326"
    },
    {
      "type": "WEB",
      "url": "https://github.com/libexpat/libexpat/pull/1329"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}

No mitigation information available for this CWE.

No CAPEC attack patterns related to this CWE.