CVE-2013-0340

published 21 Jan 2014 · updated 14 Oct 2026

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler…

5.5MediumEPSS 19%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 19%. Fixed in 2.4.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<2.4.02.4.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2013-0340 severity on Zeptric[![CVE-2013-0340](https://zeptric.io/badge/cve/CVE-2013-0340.svg)](https://zeptric.io/cve/CVE-2013-0340)