CWE-776: Improper Restriction of Recursive Entity References in DTDs (Billion Laughs Attack), published in 2024
Filter
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.
What the weakness is: CWE-776 at MITRE. OWASP Top 10: A02:2025 Security Misconfiguration. All weaknesses
Related attack patterns (CAPEC): 1
- CAPEC-197 Exponential Data Expansion Likelihood: High · Severity: Medium
The attack patterns MITRE's CAPEC relates to CWE-776, as MITRE names them. Credits.
Ask an AI about CWE-776
Show the prompt
Explain CWE-776: Improper Restriction of Recursive Entity References in DTDs and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/776.html and https://cve.bz/cve/cwe/776?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 5.9CVE-2024-43398EPSS 1.2%
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXM…
- 8.2CVE-2024-28982hitachi pentaho business analytics serverEPSS 0.4%
Hitachi Vantara Pentaho Business Analytics Server versions before 10.1.0.0 and 9.3.0.7, including 8.3.x do not correctly protect the ACL service endpoint of the Pentaho User Console against XML External Entity Reference.
- 5.9CVE-2024-27142toshiba tec corporation toshiba tec e-studio multi-function peripheral (mfp)EPSS 0.9%
Toshiba printers use XML communication for the API endpoint provided by the printer. For the endpoint, XML parsing library is used and it is vulnerable to a time-based blind XML External Entity (XXE) vulnerability. An attacker can DoS the …
- 5.9CVE-2024-27141toshiba tec corporation toshiba tec e-studio multi-function peripheral (mfp)EPSS 1.1%
Toshiba printers use XML communication for the API endpoint provided by the printer. For the endpoint, XML parsing library is used and it is vulnerable to a time-based blind XML External Entity (XXE) vulnerability. An attacker can DoS the …
- 5.5CVE-2022-28652EPSS 0.2%
~/.config/apport/settings parsing is vulnerable to "billion laughs" attack
- 5.9CVE-2024-1455langchainEPSS 0.8%
A vulnerability in the langchain-ai/langchain repository allows for a Billion Laughs Attack, a type of XML External Entity (XXE) exploitation. By nesting multiple layers of entities within an XML document, an attacker can cause the XML par…
- 7.5CVE-2024-28757EPSS 2.0%
libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via XML_ExternalEntityParserCreate).
- 5.5CVE-2023-52426libexpat project libexpatEPSS 0.4%
libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.