← Back
CWE-674

531 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 (531)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Moodle
1Moodle
Jun 17, 2026
Mar 6, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
In Moodle, the file repository's URL parsing required additional recursion handling to mitigate the risk of recursion denial of service.
1Dotcms
1Dotcms
Jun 17, 2026
Feb 1, 2023
N/A· v4
5.3 MEDIUM· v3
N/A· v2
In dotCMS 5.x-22.06, it is possible to call the TempResource multiple times, each time requesting the dotCMS server to download a large file. If done repeatedly, this will result in Tomcat request-thread exhaustion and u...Show more
In dotCMS 5.x-22.06, it is possible to call the TempResource multiple times, each time requesting the dotCMS server to download a large file. If done repeatedly, this will result in Tomcat request-thread exhaustion and ultimately a denial of any other requests.Show less
1Powerdns
1Recursor
Jun 17, 2026
Jan 21, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
A remote attacker might be able to cause infinite recursion in PowerDNS Recursor 4.8.0 via a DNS query that retrieves DS records for a misconfigured domain, because QName minimization is used in QM fallback mode. This is...Show more
A remote attacker might be able to cause infinite recursion in PowerDNS Recursor 4.8.0 via a DNS query that retrieves DS records for a misconfigured domain, because QName minimization is used in QM fallback mode. This is fixed in 4.8.1.Show less
1Gpac
1Gpac
Jun 17, 2026
Jan 5, 2023
N/A· v4
5.5 MEDIUM· v3
N/A· v2
GPAC MP4Box 2.1-DEV-rev649-ga8f438d20 has a segment fault (/stack overflow) due to infinite recursion in Media_GetSample isomedia/media.c:662
1Xstream
1Xstream
Jun 17, 2026
Dec 28, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation...Show more
XStream serializes Java objects to XML and back again. Versions prior to 1.4.20 may allow a remote attacker to terminate the application with a stack overflow error, resulting in a denial of service only via manipulation the processed input stream. The attack uses the hash code implementation for collections and maps to force recursive hash calculation causing a stack overflow. This issue is patched in version 1.4.20 which handles the stack overflow and raises an InputManipulationException instead. A potential workaround for users who only use HashMap or HashSet and whose XML refers these only as default map or set, is to change the default implementation of java.util.Map and java.util per the code example in the referenced advisory. However, this implies that your application does not care about the implementation of the map and all elements are comparable.Show less
1Loofah Project
1Loofah
Jun 17, 2026
Dec 14, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to s...Show more
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.2.0, < 2.19.1 uses recursion for sanitizing CDATA sections, making it susceptible to stack exhaustion and raising a SystemStackError exception. This may lead to a denial of service through CPU resource consumption. This issue is patched in version 2.19.1. Users who are unable to upgrade may be able to mitigate this vulnerability by limiting the length of the strings that are sanitized.Show less
1Typo3
1Typo3
Jun 17, 2026
Dec 14, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
TYPO3 is an open source PHP based web content management system. In versions prior to 9.5.38, 10.4.33, 11.5.20, and 12.1.1, requesting invalid or non-existing resources via HTTP triggers the page error handler, which aga...Show more
TYPO3 is an open source PHP based web content management system. In versions prior to 9.5.38, 10.4.33, 11.5.20, and 12.1.1, requesting invalid or non-existing resources via HTTP triggers the page error handler, which again could retrieve content to be shown as an error message from another page. This leads to a scenario in which the application is calling itself recursively - amplifying the impact of the initial attack until the limits of the web server are exceeded. This vulnerability is very similar, but not identical, to the one described in CVE-2021-21359. This issue is patched in versions 9.5.38 ELTS, 10.4.33, 11.5.20 or 12.1.1.Show less
2Debian
Netty
2Debian Linux
Netty
Jun 17, 2026
Dec 12, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
Netty project is an event-driven asynchronous network application framework. In versions prior to 4.1.86.Final, a StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion. Th...Show more
Netty project is an event-driven asynchronous network application framework. In versions prior to 4.1.86.Final, a StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion. This issue is patched in version 4.1.86.Final. There is no workaround, except using a custom HaProxyMessageDecoder.Show less
1Joinmastodon
1Mastodon
Jun 17, 2026
Dec 4, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull queue) by creating bot accounts that follow attacker-controlled accounts on certain other servers associated with a wildcard DNS A...Show more
Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull queue) by creating bot accounts that follow attacker-controlled accounts on certain other servers associated with a wildcard DNS A record, such that there is uncontrolled recursion of attacker-generated messages.Show less
3Debian
FedoraprojectXen
3Debian Linux
FedoraXen
Jun 17, 2026
Nov 1, 2022
N/A· v4
6.5 MEDIUM· v3
N/A· v2
Xenstore: Guests can crash xenstored via exhausting the stack Xenstored is using recursion for some Xenstore operations (e.g. for deleting a sub-tree of Xenstore nodes). With sufficiently deep nesting levels this can res...Show more
Xenstore: Guests can crash xenstored via exhausting the stack Xenstored is using recursion for some Xenstore operations (e.g. for deleting a sub-tree of Xenstore nodes). With sufficiently deep nesting levels this can result in stack exhaustion on xenstored, leading to a crash of xenstored.Show less
1Facebook
1Hermes
Jun 17, 2026
Oct 6, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
It was possible to trigger an infinite recursion condition in the error handler when Hermes executed specific maliciously formed JavaScript. This condition was only possible to trigger in dev-mode (when asserts were enab...Show more
It was possible to trigger an infinite recursion condition in the error handler when Hermes executed specific maliciously formed JavaScript. This condition was only possible to trigger in dev-mode (when asserts were enabled). This issue affects Hermes versions prior to v0.12.0.Show less
3Debian
FedoraprojectPhp
3Debian Linux
FedoraPhp
Jun 17, 2026
Sep 28, 2022
N/A· v4
5.5 MEDIUM· v3
N/A· v2
In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.
2Debian
Mediawiki
2Debian Linux
Mediawiki
Jun 17, 2026
Sep 19, 2022
N/A· v4
4.4 MEDIUM· v3
N/A· v2
An issue was discovered in MediaWiki before 1.35.6, 1.36.x before 1.36.4, and 1.37.x before 1.37.2. Users with the editinterface permission can trigger infinite recursion, because a bare local interwiki is mishandled for...Show more
An issue was discovered in MediaWiki before 1.35.6, 1.36.x before 1.36.4, and 1.37.x before 1.37.2. Users with the editinterface permission can trigger infinite recursion, because a bare local interwiki is mishandled for the mainpage message.Show less
2Debian
Jettison Project
2Debian Linux
Jettison
Jun 17, 2026
Sep 16, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to cra...Show more
Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by Out of memory. This effect may support a denial of service attack.Show less
1Xpdfreader
1Xpdf
Jun 17, 2026
Sep 15, 2022
N/A· v4
5.5 MEDIUM· v3
N/A· v2
XPDF v4.04 and earlier was discovered to contain a stack overflow via the function Catalog::countPageTree() at Catalog.cc.
1Gpac
1Gpac
Jun 17, 2026
Sep 15, 2022
N/A· v4
5.5 MEDIUM· v3
N/A· v2
Uncontrolled Recursion in GitHub repository gpac/gpac prior to 2.1.0-DEV.
1Nintendo
1Game Boy Color Firmware
Jun 17, 2026
Sep 14, 2022
N/A· v4
8.8 HIGH· v3
N/A· v2
A vulnerability has been found in Nintendo Game Boy Color and classified as problematic. This vulnerability affects unknown code of the component Mobile Adapter GB. The manipulation leads to memory corruption. The attack...Show more
A vulnerability has been found in Nintendo Game Boy Color and classified as problematic. This vulnerability affects unknown code of the component Mobile Adapter GB. The manipulation leads to memory corruption. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-208606 is the identifier assigned to this vulnerability.Show less
3Fedoraproject
RedhatSystemd Project
3Enterprise Linux
FedoraSystemd
Jun 17, 2026
Aug 23, 2022
N/A· v4
5.5 MEDIUM· v3
N/A· v2
A flaw was found in systemd. An uncontrolled recursion in systemd-tmpfiles may lead to a denial of service at boot time when too many nested directories are created in /tmp.
1Hjiang
1Json++
Jun 17, 2026
Aug 19, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
Jsonxx or Json++ is a JSON parser, writer and reader written in C++. In affected versions of jsonxx json parsing may lead to stack exhaustion in an address sanitized (ASAN) build. This issue may lead to Denial of Service...Show more
Jsonxx or Json++ is a JSON parser, writer and reader written in C++. In affected versions of jsonxx json parsing may lead to stack exhaustion in an address sanitized (ASAN) build. This issue may lead to Denial of Service if the program using the jsonxx library crashes. This issue exists on the current commit of the jsonxx project and the project itself has been archived. Updates are not expected. Users are advised to find a replacement.Show less
1Google
1Android
Jun 17, 2026
Aug 11, 2022
N/A· v4
6.7 MEDIUM· v3
N/A· v2
In (TBD) of (TBD), there is a possible out of bounds write due to kernel stack overflow. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploi...Show more
In (TBD) of (TBD), there is a possible out of bounds write due to kernel stack overflow. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-214245176References: Upstream kernelShow less