Live threats

All CVEs / Libexpat Project

CVE-2013-0340Libexpat Project Libexpat

Medium 6.8 No auth neededHigh EPSS

Priority
58
CVSS 2.0
6.8
EPSS
19.4%
probability of exploitation in 30 days · percentile 98
Auth required
No
Published
Jan 21, 2014
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libexpat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libexpat_projectlibexpat< 2.4.0
pythonpython≥ 3.6.0 < 3.6.15
pythonpython≥ 3.7.0 < 3.7.12
pythonpython≥ 3.8.0 < 3.8.12
pythonpython≥ 3.9.0 < 3.9.7
appleipados< 14.8
appleiphone_os< 14.8
applemacos< 11.6
appletvos< 15.0
applewatchos< 8.0

Official advisories

Also: Red Hat (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.