XXE in Xmlsoft Libxml2
CVE-2003-1564
libxml2, possibly before 2.5.0, does not properly detect recursion during entity expansion, which allows context-dependent attackers to cause a denial of service (memory and CPU consumption) via a crafted XML document containing a large number of nested entity references, aka the "billion laughs attack."
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.016, 75.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (akaganeite/CVE4PP, n0-traces/cve_monitor, ponypot/cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- secunia.com/advisories/31868 (Broken Link, third-party-advisory)
- xmlsoft.org/news.html (Release Notes)
- [xml-dev] 20030202 Re: Elliotte Rusty Harold on Web Services (mailing-list, Broken Link)
- www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2 (Issue Tracking)
- [xml] 20080820 Security fix for libxml2 (mailing-list, Patch, Mailing List)
- RHSA-2008:0886 (vendor-advisory, Broken Link)