cve.bz

CVE-2013-0340

no score yetExploit referenceEPSS 19%

No CVSS score yet. EPSS 19% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
19% (unchanged from 19% a week ago; 19% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-0340 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-0340?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-0340?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-0340 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2013-0340

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2013-0340](https://cve.bz/cve/badge/CVE-2013-0340.svg)](https://cve.bz/cve/CVE-2013-0340)

HTML:

<a href="https://cve.bz/cve/CVE-2013-0340"><img src="https://cve.bz/cve/badge/CVE-2013-0340.svg" alt="CVE-2013-0340"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libexpat_project:libexpatbefore 2.4.0
python:pythonfrom 3.6.0 before 3.6.15
python:pythonfrom 3.7.0 before 3.7.12
python:pythonfrom 3.8.0 before 3.8.12
python:pythonfrom 3.9.0 before 3.9.7
apple:ipadosbefore 14.8
apple:iphone_osbefore 14.8
apple:macosbefore 11.6
apple:tvosbefore 15.0
apple:watchosbefore 8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libxmltokno fix listedDEBIAN-CVE-2013-0340
Debian12, 13, 14expat2.4.1-2DEBIAN-CVE-2013-0340
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.5.0-1.el8_10RHSA-2025:21776
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.4.9-1.el9_1RHBA-2022:8290
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.4.9-1.el9_1RHBA-2022:8290
Red Hatrhel_aus:8.2::baseosexpat0:2.2.10-1.el8_2RHSA-2025:22871
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosexpat0:2.2.10-1.el8_4RHSA-2025:22785
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseosexpat0:2.2.10-1.el8_6RHSA-2025:22842
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseosexpat0:2.2.10-1.el8_8RHSA-2025:22607
Red Hatrhel_e4s:9.0::baseosexpat0:2.2.10-12.el9_0.4RHSA-2025:22035
SUSELinux Micro 6.0expat2.7.1-1.1SUSE-SU-2025:20207-1
SUSELinux Micro 6.1expat2.7.1-slfo.1.1_1.1SUSE-SU-2025:20311-1
openSUSETumbleweedexpat2.4.1-1.2openSUSE-SU-2024:10748-1
openSUSETumbleweedpython383.8.12-1.2openSUSE-SU-2024:11285-1
AlmaLinux8expat, expat-devel2.5.0-1.el8_10ALSA-2025:21776

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8expat-0:2.5.0-1.el8_10Fixed 2025-11-19RHSA-2025:21776
Red Hat Enterprise Linux 8.2 Advanced Update Supportexpat-0:2.2.10-1.el8_2Fixed 2025-12-09RHSA-2025:22871
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportexpat-0:2.2.10-1.el8_4Fixed 2025-12-04RHSA-2025:22785
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onexpat-0:2.2.10-1.el8_4Fixed 2025-12-04RHSA-2025:22785
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportexpat-0:2.2.10-1.el8_6Fixed 2025-12-09RHSA-2025:22842
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceexpat-0:2.2.10-1.el8_6Fixed 2025-12-09RHSA-2025:22842
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsexpat-0:2.2.10-1.el8_6Fixed 2025-12-09RHSA-2025:22842
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceexpat-0:2.2.10-1.el8_8Fixed 2025-12-02RHSA-2025:22607
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsexpat-0:2.2.10-1.el8_8Fixed 2025-12-02RHSA-2025:22607
Red Hat Enterprise Linux 9expat-0:2.4.9-1.el9_1Fixed 2022-11-15RHBA-2022:8290
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsexpat-0:2.2.10-12.el9_0.4Fixed 2025-11-25RHSA-2025:22035
Red Hat Enterprise Linux 5expatWill not fix
Red Hat Enterprise Linux 6expatWill not fix
Red Hat Enterprise Linux 7expatWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-0340.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON