1. CVE archive
  2. 2015
  3. CVE-2015-9541

CVE-2015-9541

7.5 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – High

Description

Qt through 5.14 allows an exponential XML entity expansion attack via a crafted SVG document that is mishandled in QXmlStreamReader, a related issue to CVE-2003-1564.

Affected products

VendorProductVersionPlatform
fedoraproject fedora 31 –
fedoraproject fedora 32 –
qt qt >= 5.5.0 < 5.12.8 –
All 106 Qt vulnerabilities

Vulnerability type

CWE-776 Improper Restriction of Recursive Entity References in DTDs

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

Impact on systems

ScopeImpact
Availability DoS: Resource Consumption (Other)
If the DTD contains a large number of nested or recursive entities, this allows the attacker to expand data exponentially when the DTD is parsed, quickly consuming all system resources.

How to prevent it

Operation If possible, prohibit the use of DTDs or use an XML parser that limits the expansion of recursive DTD entities.
Implementation Before parsing XML files with associated DTDs, scan for recursive entity declarations and do not continue parsing potentially explosive content.

All 90 CWE-776 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org