Description
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.
Published: 2026-08-20
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In libexpat 2.8.2 and 2.8.3 before 2.8.4, the library misinterprets the getentropy function’s return code, resulting in insufficient entropy during XML parsing. This weakness (CWE-331 and CWE-394) allows crafted XML content to trigger hash flooding, exhausting CPU resources and causing a denial of service.

Affected Systems

The vulnerability affects the libexpat project’s libexpat library in versions 2.8.2 and 2.8.3 that have not yet been upgraded to 2.8.4 or later. No other vendors or products are listed as impacted.

Risk and Exploitability

The CVSS score of 5.9 indicates a medium severity, and the EPSS score of < 1% suggests a very low but nonzero exploitation likelihood. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is through an application that accepts XML input from an external source; by providing specially crafted XML, an attacker can trigger hash flooding and force the target to consume excessive computational resources, leading to service interruption.

Generated by OpenCVE AI on August 27, 2026 at 01:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libexpat to version 2.8.4 or later on all systems that use the library
  • Ensure that all applications linking to libexpat are rebuilt against the updated library so that the getentropy check is enforced
  • If an immediate upgrade is not possible, apply traffic shaping or rate limiting to XML parsing operations to reduce the impact of a potential hash flooding attack

Generated by OpenCVE AI on August 27, 2026 at 01:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Title libexpat: libexpat: Denial of Service via hash flooding attack with crafted XML
Weaknesses CWE-331
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 20 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Title Insufficient Entropy in libexpat Enables Hash Flooding Denial of Service

Thu, 20 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
References

Thu, 20 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Thu, 20 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Title Insufficient Entropy in libexpat Enables Hash Flooding Denial of Service

Thu, 20 Aug 2026 04:45:00 +0000

Type Values Removed Values Added
Description 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.
First Time appeared Libexpat Project
Libexpat Project libexpat
Weaknesses CWE-394
CPEs cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
Vendors & Products Libexpat Project
Libexpat Project libexpat
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Libexpat Project Libexpat
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-20T17:42:38.849Z

Reserved: 2026-08-20T04:22:50.503Z

Link: CVE-2026-76956

cve-icon Vulnrichment

Updated: 2026-08-20T15:22:07.648Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-20T05:16:29.610

Modified: 2026-09-08T21:08:20.697

Link: CVE-2026-76956

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-20T04:22:51Z

Links: CVE-2026-76956 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T01:45:04Z

Weaknesses
  • CWE-331

    Insufficient Entropy

  • CWE-394

    Unexpected Status Code or Return Value