Home / Xmlsoft / Libxml2 / CVE-2003-1564
CVE-2003-1564: is it exploited, and which versions of Xmlsoft Libxml2 are affected and fixed?
CVE-2003-1564 is a XML entity expansion (billion laughs) vulnerability in Xmlsoft Libxml2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: libxml2 before 2.5.0 (NVD). Fixed in 2.5.0 (NVD). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:55 UTC.
What is 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."
From the CVE record by mitre, last updated August 8, 2024, 02:35 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml2 | before 2.5.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:04 UTC.
How severe is CVE-2003-1564?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2003-1564 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.57% probability of exploitation activity in the next 30 days, percentile 76.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-776 Improper Restriction of Recursive Entity References in DTDs
Where are the vendor advisories and references?
- 31868 third-party-advisory, x_refsource_SECUNIA
- http://xmlsoft.org/news.html x_refsource_MISC
- [xml-dev] 20030202 Re: Elliotte Rusty Harold on Web Services mailing-list, x_refsource_MLIST
- http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2 x_refsource_MISC
- [xml] 20080820 Security fix for libxml2 mailing-list, x_refsource_MLIST
- RHSA-2008:0886 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- September 2, 2008
- Published
- September 2, 2008, 14:00 UTC
- CVE record updated
- August 8, 2024, 02:35 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:04 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:55 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libxml2?
- Sep 5, 2026CVE-2026-86144 xmlsoft libxml2: incorrect resource transfer
- Sep 5, 2026CVE-2026-86143 xmlsoft libxml2: integer Coercion Error
- Sep 5, 2026CVE-2026-86142 xmlsoft libxml2: heap buffer overflow
- Sep 5, 2026CVE-2026-86141 xmlsoft libxml2: unchecked return value
- Sep 5, 2026CVE-2026-86140 xmlsoft libxml2: stack buffer overflow
- Sep 5, 2026CVE-2026-86139 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86138 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86137 xmlsoft libxml2: out-of-bounds read
Questions about CVE-2003-1564
Is CVE-2003-1564 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 1.57% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Xmlsoft Libxml2 are affected by CVE-2003-1564?
libxml2 before 2.5.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2003-1564?
2.5.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2003-1564?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2003-1564?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.