CVEBrief

Home / Libexpat Project / Libexpat / CVE-2013-0340

CVE-2013-0340: is it exploited, and which versions of Libexpat Project Libexpat are affected and fixed?

CVE-2013-0340 is a XML external entity (XXE) vulnerability in Libexpat Project Libexpat. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: libexpat before 2.4.0 (CVE record by redhat). Fixed in 2.4.0 (CVE record by redhat). Severity: Medium (6.8, CVSS 2.0, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:47 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 08:38 UTC
Affected
libexpat before 2.4.0
CVE record by redhat
Fixed in
2.4.0
CVE record by redhat
Severity
Medium 6.8
CVSS 2.0 from NVD
Exploit odds (EPSS)
19.4% in 30 days
higher than 97% of CVEs; FIRST, December 2, 2026

What is 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 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.

From the CVE record by redhat, last updated October 14, 2026, 06:25 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
libexpatbefore 2.4.02.4.0

As the CVE record by redhat states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
libexpat projectlibexpatbefore 2.4.0application
pythonpythonfrom 3.6.0 before 3.6.15application
pythonpythonfrom 3.7.0 before 3.7.12application
pythonpythonfrom 3.8.0 before 3.8.12application
pythonpythonfrom 3.9.0 before 3.9.7application
appleipadosbefore 14.8operating system
appleiphone osbefore 14.8operating system
applemacosbefore 11.6operating system
appletvosbefore 15.0operating system
applewatchosbefore 8.0operating system

NVD analysis (status Modified), last modified October 14, 2026, 07:16 UTC.

How severe is CVE-2013-0340?

ScoreVersionVectorSource
Medium 6.8CVSS 2.0AV:N/AC:M/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2013-0340 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 9, 2026)
EPSS
19.4% probability of exploitation activity in the next 30 days, percentile 97.4 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 6, 2012
Published
January 21, 2014, 18:00 UTC
CVE record updated
October 14, 2026, 06:25 UTC by redhat
NVD
Modified, last modified October 14, 2026, 07:16 UTC
Last checked
CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Libexpat?

Every CVE in Libexpat

Questions about CVE-2013-0340

Is CVE-2013-0340 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 19.4% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Libexpat Project Libexpat are affected by CVE-2013-0340?

libexpat before 2.4.0, per the CVE record by redhat. The tables above give every range the sources list.

Which version fixes CVE-2013-0340?

2.4.0, per the CVE record by redhat. Check the vendor's advisory before you rely on it.

How severe is CVE-2013-0340?

Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2013-0340?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.