CVE-2013-0340
MEDIUMEPSS 97th pctlDescription
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.
How to fix
This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v2 Vector
No CVSS vector data available.
Exploit Intelligence
Very high risk: more likely to be exploited than 97% of all known CVEs.
References
Related Vulnerabilities
Other CWE-611 (XML External Entity (XXE)) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-34102 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2019-9670 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2022-28219 | Critical | 9.8 | 97% | - | - |
| CVE-2024-22024 | High | 8.3 | 95% | - | - |
| CVE-2024-38653 | High | 7.5 | 92% | - | - |
| CVE-2017-12629 | Critical | 9.8 | 92% | - | Fix |
Common questions
How do I fix CVE-2013-0340?
Published advisories record a fix for 15 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.
Is CVE-2013-0340 being actively exploited?
Not that we know of. CVE-2013-0340 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 19.4% is the estimated probability that it will be exploited in the next 30 days. That is higher than 97% of all scored CVEs.
How severe is CVE-2013-0340?
CVE-2013-0340 has a CVSS v2 base score of 6.8, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2013-0340 affect?
Published advisories record a fix for expat (Debian), expat (Rocky), expat (Red Hat / RHEL), expat-debuginfo (Red Hat / RHEL), and 11 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2013-0340
Markdown
[](https://tridentstack.com/cve/CVE-2013-0340)HTML
<a href="https://tridentstack.com/cve/CVE-2013-0340"><img src="https://tridentstack.com/cve/badge/CVE-2013-0340.svg" alt="CVE-2013-0340"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-29.