Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting expat package, versions <2.10.0-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.47% (42nd 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 IDSNYK-ALPINE324-EXPAT-22135818
  • published2 Nov 2026
  • disclosed22 Oct 2026

Introduced: 22 Oct 2026

NewCVE-2026-115506  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 expat to version 2.10.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream expat package and not the expat package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nested entity expansions to consume tens of seconds of CPU per parse.

CVSS Base Scores

version 3.1