CWE
189 776
Advisory Published
CVE Published
Updated

CVE-2003-1564

First published: Sun Feb 02 2003(Updated: )

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."

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Gnome Libxml2=1.7.0
Gnome Libxml2=1.7.1
Gnome Libxml2=1.7.2
Gnome Libxml2=1.7.3
Gnome Libxml2=1.7.4
Gnome Libxml2=1.8.0
Gnome Libxml2=1.8.1
Gnome Libxml2=1.8.2
Gnome Libxml2=1.8.3
Gnome Libxml2=1.8.4
Gnome Libxml2=1.8.5
Gnome Libxml2=1.8.6
Gnome Libxml2=1.8.7
Gnome Libxml2=1.8.9
Gnome Libxml2=1.8.10
Gnome Libxml2=1.8.13
Gnome Libxml2=1.8.14
Gnome Libxml2=1.8.16
Gnome Libxml2=2.0.0
Gnome Libxml2=2.1.0
Gnome Libxml2=2.1.1
Gnome Libxml2=2.2.0
Gnome Libxml2=2.2.0-beta
Gnome Libxml2=2.2.1
Gnome Libxml2=2.2.2
Gnome Libxml2=2.2.3
Gnome Libxml2=2.2.4
Gnome Libxml2=2.2.5
Gnome Libxml2=2.2.6
Gnome Libxml2=2.2.7
Gnome Libxml2=2.2.8
Gnome Libxml2=2.2.9
Gnome Libxml2=2.2.10
Gnome Libxml2=2.2.11
Gnome Libxml2=2.3.0
Gnome Libxml2=2.3.1
Gnome Libxml2=2.3.2
Gnome Libxml2=2.3.3
Gnome Libxml2=2.3.4
Gnome Libxml2=2.3.5
Gnome Libxml2=2.3.6
Gnome Libxml2=2.3.7
Gnome Libxml2=2.3.8
Gnome Libxml2=2.3.9
Gnome Libxml2=2.3.10
Gnome Libxml2=2.3.11
Gnome Libxml2=2.3.12
Gnome Libxml2=2.3.13
Gnome Libxml2=2.3.14
Gnome Libxml2=2.4.1
Gnome Libxml2=2.4.2
Gnome Libxml2=2.4.3
Gnome Libxml2=2.4.4
Gnome Libxml2=2.4.5
Gnome Libxml2=2.4.6
Gnome Libxml2=2.4.7
Gnome Libxml2=2.4.8
Gnome Libxml2=2.4.9
Gnome Libxml2=2.4.10
Gnome Libxml2=2.4.11
Gnome Libxml2=2.4.12
Gnome Libxml2=2.4.13
Gnome Libxml2=2.4.14
Gnome Libxml2=2.4.15
Gnome Libxml2=2.4.16
Gnome Libxml2=2.4.17
Gnome Libxml2=2.4.18
Gnome Libxml2=2.4.19
Gnome Libxml2=2.4.20
Gnome Libxml2=2.4.21
Gnome Libxml2=2.4.22
Gnome Libxml2=2.4.23
Gnome Libxml2=2.4.24
Gnome Libxml2=2.4.25
Gnome Libxml2=2.4.26
Gnome Libxml2=2.4.27
Gnome Libxml2=2.4.28
Gnome Libxml2=2.4.29
Gnome Libxml2=2.4.30
Gnome Libxml2=2.5.0
libxml2<2.5.0
libxml2=2.2.0
libxml2=2.2.2
libxml2=2.4.30
libxml2=1.8.0
libxml2=1.8.16
libxml2=2.1.0
libxml2=2.4.19
libxml2=2.4.7
libxml2=2.4.17
libxml2=1.7.1
libxml2=2.4.12
libxml2=2.1.1
libxml2=2.2.4
libxml2=2.3.6
libxml2=2.3.7
libxml2=2.4.20
libxml2=2.4.21
libxml2=2.5.0
libxml2=2.2.9
libxml2=2.3.14
libxml2=2.4.24
libxml2=2.4.25
libxml2=2.4.6
libxml2=1.8.5
libxml2=2.2.6
libxml2=2.3.13
libxml2=2.3.8
libxml2=1.7.2
libxml2=1.8.9
libxml2=2.0.0
libxml2=2.2.3
libxml2=2.3.0
libxml2=2.3.1
libxml2=2.3.3
libxml2=2.3.4
libxml2=2.3.5
libxml2=2.4.11
libxml2=2.4.2
libxml2=2.4.27
libxml2=2.4.28
libxml2=2.4.8
libxml2=1.8.2
libxml2=1.8.3
libxml2=2.2.5
libxml2=2.3.10
libxml2=2.4.13
libxml2=2.4.9
libxml2=1.7.0
libxml2=1.8.10
libxml2=1.8.13
libxml2=1.8.6
libxml2=1.8.7
libxml2=2.2.10
libxml2=2.2.8
libxml2=2.4.10
libxml2=2.4.18
libxml2=2.4.26
libxml2=2.4.5
libxml2=2.2.0-beta
libxml2=2.2.7
libxml2=2.4.15
libxml2=2.4.16
libxml2=2.4.22
libxml2=1.8.14
libxml2=1.7.3
libxml2=1.7.4
libxml2=2.3.11
libxml2=2.4.14
libxml2=2.4.29
libxml2=2.4.3
libxml2=2.2.11
libxml2=2.3.2
libxml2=2.4.1
libxml2=1.8.1
libxml2=1.8.4
libxml2=2.2.1
libxml2=2.3.12
libxml2=2.3.9
libxml2=2.4.23
libxml2=2.4.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2003-1564?

    CVE-2003-1564 has been classified as a denial of service vulnerability that can lead to significant memory and CPU consumption.

  • How do I fix CVE-2003-1564?

    To mitigate CVE-2003-1564, upgrade libxml2 to version 2.5.0 or later.

  • What versions of libxml2 are affected by CVE-2003-1564?

    CVE-2003-1564 affects versions of libxml2 prior to 2.5.0.

  • What type of attack does CVE-2003-1564 facilitate?

    CVE-2003-1564 allows context-dependent attackers to cause denial of service through crafted XML documents with extensive nested entity references.

  • Can CVE-2003-1564 be exploited remotely?

    Yes, CVE-2003-1564 can be exploited remotely if a vulnerable version of libxml2 processes malicious XML content from an untrusted source.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203