CVE-2003-1564: Medium severity XMLSoft Libxml2 vulnerability

Published Feb 2, 2003
·
Updated

Common Vulnerabilities and Exposures assigned an identifier CVE-2003-1564 to the following vulnerability:

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

References: http://www.stylusstudio.com/xmldev/200302/post20020.html http://www.reddit.com/r/programming/comments/65843/timetoupgradelibxml2 http://xmlsoft.org/news.html http://mail.gnome.org/archives/xml/2008-August/msg00034.html

Affected Software

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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libxml2-devel to a version that resolves this vulnerability.

    Fixed in 2.5.0

Event History

Feb 2, 2003
CVE Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionSeverityAffected Software
Dec 31, 2003
Data Sourced
via NVD·05:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 2, 2008
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Feb 25, 58439
Event
via NVD·04:45 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2003-1564?

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

3

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

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

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203