Insufficient Entropy Affecting expat package, versions [,2.8.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Entropy vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-EXPAT-16122956
  • published22 Apr 2026
  • disclosed16 Apr 2026
  • creditSebastian Pipping

Introduced: 16 Apr 2026

CVE-2026-41080  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade expat to version 2.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Entropy due to insufficient randomness in the hash seed generation process. An attacker can cause excessive CPU consumption by submitting specially crafted XML documents that trigger hash collisions.

CVSS Base Scores

version 4.0
version 3.1