1. CVE archive
  2. Vulnerability types
  3. CWE-776
CWE-776 · #193 most frequent type in the archive

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.

Part of: CWE-674 · Uncontrolled Recursion

88CVEs of this type in the archive
6critical (CVSS ≥ 9)
42high severity (7–8.9)
Nov 16, 2026latest published

What it is

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.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-776 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20082
20091
20112
20171
20198
202012
20218
202210
20235
20248
20254
202627

All CWE-776 CVEs

88 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.