{"id":"CVE-2013-0340","url":"https://www.cyber-defence.io/tools/cve/CVE-2013-0340","generatedAt":"2026-11-05T07:17:11.340Z","title":"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…","description":"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.","published":"2014-01-21T18:55:09.000Z","lastModified":"2026-10-14T07:16:36.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":6.8,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P"},"cwe":["CWE-611"],"affected":["libexpat project/libexpat","python/python","apple/ipados","apple/iphone os","apple/macos","apple/tvos","apple/watchos"],"epss":{"score":0.19433,"percentile":0.97373,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 19.4%, higher than 97% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://openwall.com/lists/oss-security/2013/02/22/3","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Oct/61","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Oct/62","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Oct/63","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/33","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/34","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/35","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/38","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/39","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/40","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://securitytracker.com/id?1028213","tags":["Third Party Advisory","VDB Entry"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2013/04/12/6","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2021/10/07/4","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.osvdb.org/90634","tags":["Broken Link"],"source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/58233","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"secalert@redhat.com"},{"url":"https://github.com/libexpat/libexpat/blob/R_2_4_1/expat/Changes","source":"secalert@redhat.com"},{"url":"https://lists.apache.org/thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e966aa7cc5fada6d%40%3Cannounce.apache.org%3E","source":"secalert@redhat.com"},{"url":"https://lists.apache.org/thread.html/rfb2c193360436e230b85547e85a41bea0916916f96c501f5b6fc4702%40%3Cusers.openoffice.apache.org%3E","source":"secalert@redhat.com"},{"url":"https://security.gentoo.org/glsa/201701-21","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT212804","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT212805","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT212807","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT212814","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT212815","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://support.apple.com/kb/HT212819","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://openwall.com/lists/oss-security/2013/02/22/3","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Oct/61","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Oct/62","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Oct/63","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/33","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/34","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/35","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/38","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/39","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2021/Sep/40","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securitytracker.com/id?1028213","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2013/04/12/6","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2021/10/07/4","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.osvdb.org/90634","tags":["Broken Link"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/58233","tags":["Broken Link","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e966aa7cc5fada6d%40%3Cannounce.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/rfb2c193360436e230b85547e85a41bea0916916f96c501f5b6fc4702%40%3Cusers.openoffice.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201701-21","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT212804","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT212805","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT212807","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT212814","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT212815","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/kb/HT212819","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","source":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-0340","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}