cve.bz

CVE-2003-1564 (Billion Laughs) xmlsoft libxml2: Billion Laughs Attack

6.5 mediumEPSS 1.6%Fix available

Known as Billion Laughs

Medium (6.5) in xmlsoft libxml2. EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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."

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-776 Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack)
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2003-1564 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2003-1564?via=ask-ai-copy and https://cve.bz/cve/CVE-2003-1564?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2003-1564 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xmlsoft:libxml2before 2.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:2.1::as, enterprise_linux:2.1::aw, enterprise_linux:2.1::es and 1 morelibxml2, libxml2-devel, libxml2-python0:2.4.19-11.entRHSA-2008:0886

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 2.1libxml2-0:2.4.19-11.entFixed 2008-09-11RHSA-2008:0886

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2003-1564.

Attack patterns (CAPEC)

  • CAPEC-197 Exponential Data Expansion Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON