Security Resilience

CVE-2026-41080

Libexpat Project Libexpat ≤ 2.8.0

Published
16 April 2026
Modified
14 July 2026
Patch / advisory
CVSS Score v3.1 2.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Score 0.0045 31th percentile
Risk Priority 27 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-41080 is a low-severity Insufficient Entropy (CWE-331) vulnerability in Libexpat Project Libexpat. Its CVSS base score is 2.9 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Forge Web Credentials (T1606); ranked at the 31th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-12 (Cryptographic Key Establishment and Management) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-41080 affects libexpat versions prior to 2.8.0, where insufficient entropy in hash functions allows hash flooding through a crafted XML document. This vulnerability, classified under CWE-331 (Insufficient Entropy), enables denial-of-service conditions by degrading performance via hash table collisions. The CVSS v3.1 base score is 2.9 (AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L), reflecting low severity due to its local attack vector, high attack complexity, and limited impact on availability.

A local attacker with no privileges required can exploit this by supplying a malicious XML document to an application using the vulnerable libexpat library. The crafted input triggers hash flooding, causing excessive computation and partial denial of service, such as slowed processing or resource exhaustion in the affected component, without impacting confidentiality or integrity.

Advisories recommend upgrading to libexpat 2.8.0, which addresses the entropy issue as detailed in the release announcement on the hartwork blog, GitHub issue #47, pull request #1183, and oss-security mailing list posts from April 26, 2026. These resources confirm the fix improves hash randomization to prevent flooding attacks.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1606 Forge Web Credentials Credential Access
Adversaries may forge credential materials that can be used to gain access to web applications or Internet services.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1606.001 Web Cookies Credential Access
Adversaries may forge web cookies that can be used to gain access to web applications or Internet services.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-25210Same product: Libexpat Project Libexpat
CVE-2026-56406Same product: Libexpat Project Libexpat
CVE-2026-56408Same product: Libexpat Project Libexpat
CVE-2024-45492Same product: Libexpat Project Libexpat
CVE-2026-56411Same product: Libexpat Project Libexpat
CVE-2026-118370Same product: Libexpat Project Libexpat
CVE-2026-56403Same product: Libexpat Project Libexpat
CVE-2026-56404Same product: Libexpat Project Libexpat
CVE-2026-56407Same product: Libexpat Project Libexpat
CVE-2026-56410Same product: Libexpat Project Libexpat

Affected Assets

libexpat project
libexpat
≤ 2.8.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 6 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V11.3.4

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Key establishment and management requirements force use of approved RNG sources with adequate entropy when generating keys.

Security engineering principles can include selection of strong entropy sources during design.

Mandating approved cryptographic algorithms and modules inherently requires sufficient entropy for random values and keys.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices explicitly include vetted RNG and entropy sources, directly preventing this weakness while covering many other development concerns.

PR.AA-03 partial match
blocks

Password-strength policies implicitly require sufficient entropy, but the control addresses authentication rather than algorithmic randomness.

PR.DS-01 partial match
blocks

Proper encryption for data-at-rest requires sufficient entropy for keys/nonces; eliminating the weakness therefore supports but does not fully realize the control.

PR.DS-02 partial match
blocks

Cryptographic protection of data-in-transit depends on adequate entropy; the weakness directly undermines the control's effectiveness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Mandates use of cryptography that must rely on sufficient entropy sources.

finds

Security testing can detect insufficient-entropy defects before release.

prevents

Secure-coding rules can explicitly forbid weak random-number generation.

prevents

A.8.30 carries its preventive effect through the secure design, coding and testing practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software weaknesses in delivered code the way those practices do — at `partial`, the same ceiling the owner set for A.8.30 on CWE-134, because the underlying practices are fallible and a different clause carries the stronger effect.

finds

A.8.8's reach is disclosure-based (vulnerability scanning, tracking third-party libraries, receiving reports), and CWE-331 does surface as CVEs (e.g., CVE-2001-0950, CVE-2008-2108), so the disclosed share of instances in third-party components is found; the bulk of insufficient-entropy weaknesses live in first-party code where a weak PRNG or predictable seed was chosen, and A.8.8 does not see those.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (2 rules)
  • V-248524 OL 8 must implement NIST FIPS-validated cryptography for the following: To provision digital signatures, to generate cryptographic hashes, and to protect data requiring data-at-rest protections in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. blocks CWE-331
  • V-248563 The OL 8 SSH server must be configured to use strong entropy. blocks CWE-331
RHEL 7 (1 rule)
  • V-204497 The Red Hat Enterprise Linux operating system must implement NIST FIPS-validated cryptography for the following: to provision digital signatures, to generate cryptographic hashes, and to protect data requiring data-at-rest protections in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. blocks CWE-331
RHEL 8 (1 rule)
  • V-230223 RHEL 8 must implement NIST FIPS-validated cryptography for the following: To provision digital signatures, to generate cryptographic hashes, and to protect data requiring data-at-rest protections in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards. blocks CWE-331

References