VDB

CVE-2013-0340

CVE-2013-0340 PUBLISHED

Reported by redhat · Published January 21, 2014

libexpat is fixed in 2.4.0 (GitHub Packages)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libexpatGitHub Packages2.4.0
debian/python-3.11debian3.10.0-rc2, 3.9.7, 3.8.12, 3.7.12, 3.6.15
tvosapple15.0
ipadosapple14.8
debian/python-3.10debian3.10.0-rc2, 3.9.7, 3.8.12, 3.7.12, 3.6.15
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
watchosapple8.0
debian/python-3.13debian3.10.0-rc2, 3.9.7, 3.8.12, 3.7.12, 3.6.15
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPSiemens3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5
pythonpython3.9.7, 3.8.12, 3.7.12, 3.6.15
iphone_osapple14.8

12 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
0
0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0

Timeline

  • Feb 21, 2013 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jun 2, 2026 Security Advisory (3 in total, the first dated here)
  • Oct 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2013-0340
vulnetix vdb fixes CVE-2013-0340

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-0340/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

…and 6 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›