{"api_version":"1","generated_at":"2026-07-23T06:34:44+00:00","cve":"CVE-2003-1564","urls":{"html":"https://cve.report/CVE-2003-1564","api":"https://cve.report/api/cve/CVE-2003-1564.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2003-1564","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2003-1564"},"summary":{"title":"CVE-2003-1564","description":"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.\"","state":"PUBLISHED","assigner":"mitre","published_at":"2003-12-31 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["CWE-776","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"9.3","severity":"","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","baseScore":9.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://xmlsoft.org/news.html","name":"http://xmlsoft.org/news.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"],"title":"Releases","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2","name":"http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking"],"title":"Time to upgrade libxml2 : programming","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0886.html","name":"http://www.redhat.com/support/errata/RHSA-2008-0886.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Support | Red Hat","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/31868","name":"http://secunia.com/advisories/31868","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Red Hat update for libxml2 - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.stylusstudio.com/xmldev/200302/post20020.html","name":"http://www.stylusstudio.com/xmldev/200302/post20020.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"404 - File or directory not found.","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://mail.gnome.org/archives/xml/2008-August/msg00034.html","name":"http://mail.gnome.org/archives/xml/2008-August/msg00034.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"],"title":"[xml] Security fix for libxml2","mime":"text/x-diff","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2003-1564","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-1564","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2003","cve_id":"1564","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"xmlsoft","cpe5":"libxml2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T02:35:17.000Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"31868","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/31868"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://xmlsoft.org/news.html"},{"name":"[xml-dev] 20030202 Re: Elliotte Rusty Harold on Web Services","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.stylusstudio.com/xmldev/200302/post20020.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2"},{"name":"[xml] 20080820 Security fix for libxml2","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://mail.gnome.org/archives/xml/2008-August/msg00034.html"},{"name":"RHSA-2008:0886","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0886.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2003-01-06T00:00:00.000Z","descriptions":[{"lang":"en","value":"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.\""}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2008-09-17T09:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"31868","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/31868"},{"tags":["x_refsource_MISC"],"url":"http://xmlsoft.org/news.html"},{"name":"[xml-dev] 20030202 Re: Elliotte Rusty Harold on Web Services","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.stylusstudio.com/xmldev/200302/post20020.html"},{"tags":["x_refsource_MISC"],"url":"http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2"},{"name":"[xml] 20080820 Security fix for libxml2","tags":["mailing-list","x_refsource_MLIST"],"url":"http://mail.gnome.org/archives/xml/2008-August/msg00034.html"},{"name":"RHSA-2008:0886","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0886.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2003-1564","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.\""}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"31868","refsource":"SECUNIA","url":"http://secunia.com/advisories/31868"},{"name":"http://xmlsoft.org/news.html","refsource":"MISC","url":"http://xmlsoft.org/news.html"},{"name":"[xml-dev] 20030202 Re: Elliotte Rusty Harold on Web Services","refsource":"MLIST","url":"http://www.stylusstudio.com/xmldev/200302/post20020.html"},{"name":"http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2","refsource":"MISC","url":"http://www.reddit.com/r/programming/comments/65843/time_to_upgrade_libxml2"},{"name":"[xml] 20080820 Security fix for libxml2","refsource":"MLIST","url":"http://mail.gnome.org/archives/xml/2008-August/msg00034.html"},{"name":"RHSA-2008:0886","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0886.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2003-1564","datePublished":"2008-09-02T14:00:00.000Z","dateReserved":"2008-09-02T00:00:00.000Z","dateUpdated":"2024-08-08T02:35:17.000Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2003-12-31 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["CWE-776","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","baseScore":9.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":8.6,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*","versionEndExcluding":"2.5.0","matchCriteriaId":"FFC0B453-3262-463A-9748-EC2863D58401"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2003","CveId":"1564","Ordinal":"1","Title":"CVE-2003-1564","CVE":"CVE-2003-1564","Year":"2003"},"notes":[{"CveYear":"2003","CveId":"1564","Ordinal":"1","NoteData":"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.\"","Type":"Description","Title":"CVE-2003-1564"},{"CveYear":"2003","CveId":"1564","Ordinal":"2","NoteData":"2008-09-02","Type":"Other","Title":"Published"},{"CveYear":"2003","CveId":"1564","Ordinal":"3","NoteData":"2008-09-17","Type":"Other","Title":"Modified"}]}}}