CVE-2013-0339
publishedlibxml2: CPU consumption DoS and other effects when performing string substitutions during external entities expansion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | squeeze | libxml2 | Advisory build | 2.7.8.dfsg-2+squeeze7 | DSA-2652-1 |
Description
libxml2 through 2.9.1 does not properly handle external entities expansion unless an application developer uses the xmlSAX2ResolveEntity or xmlSetExternalEntityLoader function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because libxml2 already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed and each affected application would need its own CVE.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
15- SUSE-SU-2013:1627 http://lists.opensuse.org/opensuse-security-announce/2013-11/msg00002.html
- [oss-security] 20130221 CVE Guidance for Libraries and Resource-Consumption DoS http://openwall.com/lists/oss-security/2013/02/21/24
- [oss-security] 20130221 CVEs for libxml2 and expat internal and external XML entity expansion http://openwall.com/lists/oss-security/2013/02/22/3
- [oss-security] 20131028 Re: CVE Request: libxml2 external parsed entities issue http://seclists.org/oss-sec/2013/q4/182
- [oss-security] 20131029 Re: CVE Request: libxml2 external parsed entities issue http://seclists.org/oss-sec/2013/q4/184
- [oss-security] 20131029 Re: CVE Request: libxml2 external parsed entities issue http://seclists.org/oss-sec/2013/q4/188
- 52662 http://secunia.com/advisories/52662
- 54172 http://secunia.com/advisories/54172
- 55568 http://secunia.com/advisories/55568
- DSA-2652 http://www.debian.org/security/2013/dsa-2652
- [oss-security] 20130412 Re-evaluating expat/libxml2 CVE assignments http://www.openwall.com/lists/oss-security/2013/04/12/6
- USN-1904-1 http://www.ubuntu.com/usn/USN-1904-1
- USN-1904-2 http://www.ubuntu.com/usn/USN-1904-2
- https://bugzilla.redhat.com/show_bug.cgi?id=915149
- https://git.gnome.org/browse/libxml2/commit/?id=4629ee02ac649c27f9c0cf98ba017c6b5526070f
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6fab6535bc223e517185e6e843dd44dd7662ef42f26f77988bdb7d8c7c0f0f29
- Ingested
- 23 Sep 2026, 07:39:29 UTC
- Source record
- Official CVE record