Vulnerability · CVE-2013-0340
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote…
Published Jan 21, 2014 · catalog updated Oct 14, 2026 · Apple
Check this week
CVE-2013-0340 is not in CISA KEV. FIRST estimates a 19.43% chance of exploitation in the next 30 days. Check whether you run Apple.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Medium6.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 19.43%
- Remediation
- Advisory link
- Affected products
- cpe apple/ipados · cpe apple/iphone os · cpe apple/macos · cpe apple/tvos · cpe apple/watchos · cpe libexpat project/libexpat
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler 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 expat 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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe apple/ipadosversion unspecified
- cpe apple/iphone osversion unspecified
- cpe apple/macosversion unspecified
- cpe apple/tvosversion unspecified
- cpe apple/watchosversion unspecified
- cpe libexpat project/libexpatversion unspecified
- cpe python/pythonversion unspecified
How to fix CVE-2013-0340
Recommended remediation
A patch or advisory reference is linked. Open the original publisher for availability by product version.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2013-0340 is not in CISA KEV. FIRST estimates a 19.43% chance of exploitation in the next 30 days. Check whether you run Apple.
Which versions are affected?
Affected version ranges are not on this record. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-611: XML External Entity (XXE). EPSS 19.43%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jan 21, 2014 · NIST NVD
Detected
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler 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
Oct 14, 2026 · NIST NVD
Updated
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler 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
Sources
- Apple Security ReleasesVendor advisoryCVE-2013-0340
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler 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
nvd.nist.gov - CVE.orgVulnerability recordCVE-2013-0340
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read ar
cve.org - FIRST EPSSExploitation probabilityCVE-2013-0340
30-day exploitation probability 19.4%
first.org - NIST NVDVulnerability recordCVE-2013-0340
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read ar
nvd.nist.gov
References
- Exploit · openwall.com
- Mailing List · seclists.org
- Mailing List · seclists.org
- Mailing List · seclists.org
- Mailing List · seclists.org
- Mailing List · seclists.org
- Mailing List · seclists.org
- Mailing List · seclists.org
- 1028213 · securitytracker.com
- [oss-security] 20130413 Re-evaluating expat/libxml2 CVE assignments · openwall.com
- 90634 · osvdb.org
- 58233 · securityfocus.com
- GLSA-201701-21 · security.gentoo.org
- Reference · support.apple.com
- Reference · support.apple.com
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.