Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Affecting libxml2 package, versions <2.6.32.dfsg-3


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
2.51% (83rd 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-ECHOLATEST-LIBXML2-19539735
  • published5 Sept 2026
  • disclosed27 Aug 2008

Introduced: 27 Aug 2008

CVE-2008-3281  (opens in a new tab)
CWE-776  (opens in a new tab)

How to fix?

Upgrade Echo:latest libxml2 to version 2.6.32.dfsg-3 or higher.

NVD Description

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

libxml2 2.6.32 and earlier does not properly detect recursion during entity expansion in an attribute value, which allows context-dependent attackers to cause a denial of service (memory and CPU consumption) via a crafted XML document.

References

CVSS Base Scores

version 3.1