Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2013-0340

33
FAUCET Score

CVE-2013-0340 describes an XML External Entity (XXE) vulnerability in expat before version 2.4.0, impacting products like Apple and Python. This flaw allows remote attackers to trigger denial of service, send HTTP requests to intranet servers, or read arbitrary files through specially crafted XML documents, unless the XML_SetEntityDeclHandler function is explicitly used by developers. The vulnerability carries a CVSS score of 6.8, indicating a medium attack complexity and potential for partial impact on confidentiality, integrity, and availability. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.4.0CPE matchmatch criteria
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
>= 3.6.0, < 3.6.15CPE matchmatch criteria
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.7.0, < 3.7.12CPE matchmatch criteria
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.8.0, < 3.8.12CPE matchmatch criteria
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
>= 3.9.0, < 3.9.7CPE matchmatch criteria
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

6.8MEDIUM

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

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Exploitability Score
8.6
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
20.09%
Probability of exploitation in next 30 days
EPSS Percentile
97.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.2009 is in the 97th percentile among its peer group of 19,958 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (16)

microsoftpatch availablevia msrc
Product: cm1 expat 2.4.1-1 on CBL Mariner 1.0Fixed in: 2.4.1-1
microsoftpatch availablevia msrc
Product: 17018-16820Fixed in: 2.4.1-1
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: expat-0:2.5.0-1.el8_10
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.2 Advanced Update SupportFixed in: expat-0:2.2.10-1.el8_2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportFixed in: expat-0:2.2.10-1.el8_4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-OnFixed in: expat-0:2.2.10-1.el8_4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportFixed in: expat-0:2.2.10-1.el8_6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceFixed in: expat-0:2.2.10-1.el8_6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsFixed in: expat-0:2.2.10-1.el8_6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.8 Telecommunications Update ServiceFixed in: expat-0:2.2.10-1.el8_8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsFixed in: expat-0:2.2.10-1.el8_8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: expat-0:2.4.9-1.el9_1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsFixed in: expat-0:2.2.10-12.el9_0.4
View patch
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 5Fixed in: expat
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: expat
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 7Fixed in: expat

Vendor Advisories (2)

microsoft2014-Jan/CVE-2013-0340Moderate

expat 2.1.0 and earlier 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.

Jan 2, 2014
redhatCVE-2013-0340Moderate

expat: internal entity expansion

Feb 19, 2013

References

openwall.com / lists/oss-security/2013/02/22/3
ExploitMailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Oct/61
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Oct/62
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Oct/63
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Sep/33
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Sep/34
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Sep/35
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Sep/38
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Sep/39
Mailing ListThird Party Advisory
seclists.org / fulldisclosure/2021/Sep/40
Mailing ListThird Party Advisory
securitytracker.com / id
Third Party AdvisoryVDB Entry
github.com / libexpat/libexpat/blob/R_2_4_1/expat/Changes
lists.apache.org / thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e966aa7cc5fada6d%40%3Cannounce.apache.org%3E
lists.apache.org / thread.html/rfb2c193360436e230b85547e85a41bea0916916f96c501f5b6fc4702%40%3Cusers.openoffice.apache.org%3E
security.gentoo.org / glsa/201701-21
Third Party Advisory
support.apple.com / kb/HT212804
Third Party Advisory
support.apple.com / kb/HT212805
Third Party Advisory
support.apple.com / kb/HT212807
Third Party Advisory
support.apple.com / kb/HT212814
Third Party Advisory
support.apple.com / kb/HT212815
Third Party Advisory
support.apple.com / kb/HT212819
Third Party Advisory
openwall.com / lists/oss-security/2013/04/12/6
Mailing ListThird Party Advisory
openwall.com / lists/oss-security/2021/10/07/4
Mailing ListThird Party Advisory
osvdb.org / 90634
Broken Link
securityfocus.com / bid/58233
Broken LinkThird Party AdvisoryVDB Entry