CVE-2024-40896 Affecting libxml2-2.9.1 package, versions <2.9.1+e1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.22% (68th 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-LIBXML2291-21429851
  • published22 Oct 2026
  • disclosed23 Dec 2024

Introduced: 23 Dec 2024

CVE-2024-40896  (opens in a new tab)

How to fix?

Upgrade Echo:latest libxml2-2.9.1 to version 2.9.1+e1 or higher.

NVD Description

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

In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if custom SAX handlers try to override entity content (by setting "checked"). This makes classic XXE attacks possible.

CVSS Base Scores

version 3.1