← Back
CWE-674

629 CVEs • Abstraction: Class

Uncontrolled Recursion

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

JSON object

Loading...

CVEs (629)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
5Debian
FedoraprojectLibexpat Project+2 more
6Debian Linux
FedoraHttp Server+3 more
Oct 14, 2026
Feb 18, 2022
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack exhaustion in build_model via a large nesting depth in the DTD element.
1Google
1Tensorflow
Jun 17, 2026
Feb 4, 2022
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Tensorflow is an Open Source Machine Learning Framework. The `GraphDef` format in TensorFlow does not allow self recursive functions. The runtime assumes that this invariant is satisfied. However, a `GraphDef` containing...Show more
Tensorflow is an Open Source Machine Learning Framework. The `GraphDef` format in TensorFlow does not allow self recursive functions. The runtime assumes that this invariant is satisfied. However, a `GraphDef` containing a fragment such as the following can be consumed when loading a `SavedModel`. This would result in a stack overflow during execution as resolving each `NodeDef` means resolving the function itself and its nodes. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.Show less
1Yzmcms
1Yzmcms
Jun 17, 2026
Jan 28, 2022
N/A· v4
5.3 MEDIUM· v3
5.0 MEDIUM· v2
The comment function in YzmCMS v6.3 was discovered as being able to be operated concurrently, allowing attackers to create an unusually large number of comments.
1Cesanta
1Mjs
Jun 17, 2026
Jan 27, 2022
N/A· v4
7.8 HIGH· v3
6.8 MEDIUM· v2
Cesanta MJS v2.20.0 was discovered to contain a stack overflow via snquote at mjs/src/mjs_json.c.
1Jsish
1Jsish
Jun 17, 2026
Jan 27, 2022
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
Jsish v3.5.0 was discovered to contain a stack overflow via Jsi_LogMsg at src/jsiUtils.c.
1Jsish
1Jsish
Jun 17, 2026
Jan 27, 2022
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
Jsish v3.5.0 was discovered to contain a stack overflow via /usr/lib/x86_64-linux-gnu/libasan.so.4+0x5b1e5.
1Graphql Go Project
1Graphql Go
Jun 17, 2026
Jan 21, 2022
N/A· v4
6.5 MEDIUM· v3
3.5 LOW· v2
graphql-go is a GraphQL server with a focus on ease of use. In versions prior to 1.3.0 there exists a DoS vulnerability that is possible due to a bug in the library that would allow an attacker with specifically designed...Show more
graphql-go is a GraphQL server with a focus on ease of use. In versions prior to 1.3.0 there exists a DoS vulnerability that is possible due to a bug in the library that would allow an attacker with specifically designed queries to cause stack overflow panics. Any user with access to the GraphQL handler can send these queries and cause stack overflows. This in turn could potentially compromise the ability of the server to serve data to its users. The issue has been patched in version `v1.3.0`. The only known workaround for this issue is to disable the `graphql.MaxDepth` option from your schema which is not recommended.Show less
1Gnu
1Gcc
Oct 14, 2026
Jan 14, 2022
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c. This vulnerability allows attackers to cause a Denial of Service (DoS) by consuming excessive CPU and memory reso...Show more
GCC v12.0 was discovered to contain an uncontrolled recursion via the component libiberty/rust-demangle.c. This vulnerability allows attackers to cause a Denial of Service (DoS) by consuming excessive CPU and memory resources.Show less
1Hdfgroup
1Hdf5
Jun 17, 2026
Jan 5, 2022
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
A Stack-based Buffer Overflow Vulnerability exists in HDF5 1.13.1-1 at at hdf5/src/H5Eint.c, which causes a Denial of Service (context-dependent).
5Apache
DebianNetapp+2 more
1176bk1602 0aa12 0tp0 Firmware
6bk1602 0aa22 0tp0 Firmware6bk1602 0aa32 0tp0 Firmware+114 more
Aug 25, 2026
Dec 18, 2021
N/A· v4
5.9 MEDIUM· v3
4.3 MEDIUM· v2
Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data t...Show more
Apache Log4j2 versions 2.0-alpha1 through 2.16.0 (excluding 2.12.3 and 2.3.1) did not protect from uncontrolled recursion from self-referential lookups. This allows an attacker with control over Thread Context Map data to cause a denial of service when a crafted string is interpreted. This issue was fixed in Log4j 2.17.0, 2.12.3, and 2.3.1.Show less
5Debian
F5Oracle+2 more
6Debian Linux
Http ServerModsecurity+3 more
Jun 17, 2026
Dec 7, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects. Crafted JSON objects with nesting tens-of-thousands deep could result in the web server being unable to service legitimate requests. Even a modera...Show more
ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects. Crafted JSON objects with nesting tens-of-thousands deep could result in the web server being unable to service legitimate requests. Even a moderately large (e.g., 300KB) HTTP request can occupy one of the limited NGINX worker processes for minutes and consume almost all of the available CPU on the machine. Modsecurity 2 is similarly vulnerable: the affected versions include 2.8.0 through 2.9.4.Show less
3Debian
FedoraprojectWireshark
3Debian Linux
FedoraWireshark
Jun 17, 2026
Nov 19, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Uncontrolled Recursion in the Bluetooth DHT dissector in Wireshark 3.4.0 to 3.4.9 and 3.2.0 to 3.2.17 allows denial of service via packet injection or crafted capture file
1Nlnetlabs
1Routinator
Jun 17, 2026
Nov 9, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
NLnet Labs Routinator prior to 0.10.2 happily processes a chain of RRDP repositories of infinite length causing it to never finish a validation run. In RPKI, a CA can choose the RRDP repository it wishes to publish its d...Show more
NLnet Labs Routinator prior to 0.10.2 happily processes a chain of RRDP repositories of infinite length causing it to never finish a validation run. In RPKI, a CA can choose the RRDP repository it wishes to publish its data in. By continuously generating a new child CA that only consists of another CA using a different RRDP repository, a malicious CA can create a chain of CAs of de-facto infinite length. Routinator prior to version 0.10.2 did not contain a limit on the length of such a chain and will therefore continue to process this chain forever. As a result, the validation run will never finish, leading to Routinator continuing to serve the old data set or, if in the initial validation run directly after starting, never serve any data at all.Show less
2Fedoraproject
Lua
2Fedora
Lua
Jun 17, 2026
Nov 9, 2021
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
Stack overflow in lua_resume of ldo.c in Lua Interpreter 5.1.0~5.4.4 allows attackers to perform a Denial of Service via a crafted script file.
1Akka
1Http Server
Jun 17, 2026
Nov 2, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
Akka HTTP 10.1.x before 10.1.15 and 10.2.x before 10.2.7 can encounter stack exhaustion while parsing HTTP headers, which allows a remote attacker to conduct a Denial of Service attack by sending a User-Agent header with...Show more
Akka HTTP 10.1.x before 10.1.15 and 10.2.x before 10.2.7 can encounter stack exhaustion while parsing HTTP headers, which allows a remote attacker to conduct a Denial of Service attack by sending a User-Agent header with deeply nested comments.Show less
2Debian
Tuxera
2Debian Linux
Ntfs 3g
Jun 17, 2026
Sep 7, 2021
N/A· v4
5.5 MEDIUM· v3
4.7 MEDIUM· v2
A crafted NTFS image with an unallocated bitmap can lead to a endless recursive function call chain (starting from ntfs_attr_pwrite), causing stack consumption in NTFS-3G < 2021.8.22.
1Exiv2
1Exiv2
Jun 17, 2026
Aug 19, 2021
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
A stack exhaustion issue in the printIFDStructure function of Exiv2 0.27 allows remote attackers to cause a denial of service (DOS) via a crafted file.
1Foxitsoftware
2Foxit Reader
Phantompdf
Jun 17, 2026
Aug 11, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
An issue was discovered in Foxit Reader and PhantomPDF before 10.1.4. It allows stack consumption via recursive function calls during the handling of XFA forms or link objects.
1Foxitsoftware
2Pdf Editor
Pdf Reader
Jun 17, 2026
Aug 11, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
An issue was discovered in Foxit PDF Reader before 11.0.1 and PDF Editor before 11.0.1. It allows stack consumption during recursive processing of embedded XML nodes.
2Elastic
Oracle
2Communications Cloud Native Core Automated Test Suite
Elasticsearch
Jun 17, 2026
Jul 26, 2021
N/A· v4
6.5 MEDIUM· v3
4.0 MEDIUM· v2
In Elasticsearch versions before 7.13.3 and 6.8.17 an uncontrolled recursion vulnerability that could lead to a denial of service attack was identified in the Elasticsearch Grok parser. A user with the ability to submit...Show more
In Elasticsearch versions before 7.13.3 and 6.8.17 an uncontrolled recursion vulnerability that could lead to a denial of service attack was identified in the Elasticsearch Grok parser. A user with the ability to submit arbitrary queries to Elasticsearch could create a malicious Grok query that will crash the Elasticsearch node.Show less