CVE-2013-0340

medium
Published 2022-11-15 · Modified 2026-04-29
CVSS v3
CVSS v2
6.8
VIR risk
6.8

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2013-0340

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHBA-2022:8290

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
debian debianbookwormfixed2.4.1-2
debian debianbullseyeaffected
debian debianforkyfixed2.4.1-2
debian debiansidfixed2.4.1-2
debian debiantrixiefixed2.4.1-2
macos macosaffected14.8

Application impact

VendorProductVersionsFixed
libexpat_projectlibexpat{"endExcluding":"2.4.0"}2.4.0
pythonpython{"startIncluding":"3.6.0","endExcluding":"3.6.15"}3.6.15

References

CWEs

CWE-611

Verify integrity in audit chain (admin only). AS-IS.