CVE-2013-0340

Summary

CVECVE-2013-0340
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2014-01-21 18:55:09 UTC
Updated2026-04-29 01:13:23 UTC
Descriptionexpat 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.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-611 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libexpat Project Libexpat All All All All
Application Python Python All All All All

References

ReferenceSourceLinkTags
Full Disclosure: APPLE-SA-2021-10-26-10 Additional information for APPLE-SA-2021-09-20-2 watchOS 8 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
oss-security - Re-evaluating expat/libxml2 CVE assignments af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
oss-security - CVEs for libxml2 and expat internal and external XML entity expansion af854a3a-2127-422b-91ae-364da2661108 openwall.com Exploit, Mailing List, Third Party Advisory
Expat: Multiple vulnerabilities (GLSA 201701-21) — Gentoo Security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
www.osvdb.org/90634 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
Full Disclosure: APPLE-SA-2021-09-20-1 iOS 15 and iPadOS 15 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
About the security content of macOS Big Sur 11.6 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
About the security content of tvOS 15 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
Full Disclosure: APPLE-SA-2021-10-26-11 Additional information for APPLE-SA-2021-09-20-3 tvOS 15 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Full Disclosure: APPLE-SA-2021-10-26-9 Additional information for APPLE-SA-2021-09-20-1 iOS 15 and iPadOS 15 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Full Disclosure: APPLE-SA-2021-09-20-3 tvOS 15 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Full Disclosure: APPLE-SA-2021-09-20-6 Additional information for APPLE-SA-2021-09-13-1 iOS 14.8 and iPadOS 14.8 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
About the security content of iOS 15 and iPadOS 15 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
About the security content of watchOS 8 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
About the security content of iOS 14.8 and iPadOS 14.8 - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
Malformed Request af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Third Party Advisory, VDB Entry
oss-security - CVE-2021-40439: Apache OpenOffice: Billion Laughs af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
About the security content of Security Update 2021-005 Catalina - Apple Support af854a3a-2127-422b-91ae-364da2661108 support.apple.com Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
github.com/libexpat/libexpat/blob/R_2_4_1/expat/Changes [email protected] github.com
expat Entity Expansion May Let Remote Users Deny Service - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 securitytracker.com Third Party Advisory, VDB Entry
lists.apache.org/thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e966aa7c... af854a3a-2127-422b-91ae-364da2661108 lists.apache.org
Full Disclosure: APPLE-SA-2021-09-20-7 Additional information for APPLE-SA-2021-09-13-3 macOS Big Sur 11.6 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Full Disclosure: APPLE-SA-2021-09-20-2 watchOS 8 af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Full Disclosure: APPLE-SA-2021-09-20-8 Additional information for APPLE-SA-2021-09-13-4 Security Update 2021-005 Catalina af854a3a-2127-422b-91ae-364da2661108 seclists.org Mailing List, Third Party Advisory
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 378374 IBM Hypertext Transfer Protocol (HTTP) Server Denial of Service (DoS) Vulnerabilty (6839161)
  • 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
  • 610370 Apple iOS 15 and iPadOS 15 Security Update Missing
  • 670766 EulerOS Security Update for expat (EulerOS-SA-2021-2524)
  • 670790 EulerOS Security Update for expat (EulerOS-SA-2021-2548)
  • 690133 Free Berkeley Software Distribution (FreeBSD) Security Update for texproc/expat2 (5fa90ee6-bc9e-11eb-a287-e0d55e2a8bf9)
  • 710322 Gentoo Linux Expat Multiple Vulnerabilities (GLSA 201701-21)
  • 900422 Common Base Linux Mariner (CBL-Mariner) Security Update for expat (6264)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report