CWE-674: 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.

516 published CVE records name this weakness. Abstraction: Class. Status: Draft. CWE-674 at MITRE

CVETitleCVSSEPSSPublished
CVE-2025-9714 Stack overflow in libxml2 6.2 medium 0.18% 10 Sep 2025
CVE-2025-57809 XGrammar affected by Denial of Service by infinite recursion grammars 7.7 high 0.55% 25 Aug 2025
CVE-2025-5302 Denial of Service (DOS) in JSONReader in run-llama/llama_index 8.6 high 0.33% 25 Aug 2025
CVE-2025-24302 n/a TinyCBOR libraries maintained by Intel(R): Uncontrolled Recursion 5.4 medium 0.15% 12 Aug 2025
CVE-2025-20025 n/a TinyCBOR libraries maintained by Intel(R): Uncontrolled Recursion 4.1 medium 0.13% 12 Aug 2025
CVE-2025-8732 libxml2 xmlcatalog xmlParseSGMLCatalog recursion 4.8 medium 0.19% 8 Aug 2025
CVE-2025-23325 NVIDIA Triton Inference Server: Uncontrolled Recursion 7.5 high 0.56% 6 Aug 2025
CVE-2025-50420 An issue in the pdfseparate utility of freedesktop poppler v25.04.0 allows attackers to cause an infinite recursion via supplying a… 6.5 medium 0.37% 4 Aug 2025
CVE-2025-46206 An issue in Artifex mupdf 1.25.6, 1.25.5 allows a remote attacker to cause a denial of service via an infinite recursion in the `mutool… 6.5 medium 0.46% 4 Aug 2025
CVE-2024-58264 CosmWasm serde-json-wasm: Uncontrolled Recursion 3.2 low 0.55% 27 Jul 2025
CVE-2025-48924 Apache Commons Lang, Apache Commons Lang: ClassUtils.getClass(...) can throw a StackOverflowError on very long inputs 5.3 medium 2.63% 11 Jul 2025
CVE-2025-53864 Connect2id Nimbus JOSE+JWT: Uncontrolled Recursion 5.8 medium 1.09% 11 Jul 2025
CVE-2025-5472 Denial of Service via Uncontrolled Recursive JSON Parsing in JSONReader in run-llama/llama_index 6.5 medium 0.39% 7 Jul 2025
CVE-2025-53605 stepancheg protobuf: Uncontrolled Recursion 5.9 medium 0.49% 5 Jul 2025
CVE-2025-6710 Pre-authentication Denial of Service Stack Overflow Vulnerability in JSON Parsing via Excessive Recursion in MongoDB 7.5 high 0.39% 26 Jun 2025
CVE-2025-4565 Unbounded recursion in Python Protobuf 8.2 high 0.26% 16 Jun 2025
CVE-2025-20678 MediaTek, Inc. MT6739, MT6761, MT6762, MT6762D, MT6762M, MT6763, MT6765, MT6765T, MT6767, MT6768, MT6769, MT6769K, MT6769S, MT6769T, MT6769Z… 6.5 medium 0.36% 2 Jun 2025
CVE-2025-30193 Denial of service via crafted TCP exchange 7.5 high 0.63% 20 May 2025
CVE-2025-1752 Denial of Service in run-llama/llama_index 7.5 high 0.53% 10 May 2025
CVE-2025-43708 VisiCut: Uncontrolled Recursion 3.3 low 0.41% 17 Apr 2025
CVE-2025-32387 Helm Allows A Specially Crafted JSON Schema To Cause A Stack Overflow 6.5 medium 0.50% 9 Apr 2025
CVE-2024-12910 Denial of Service in run-llama/llama_index 4.2 medium 0.69% 20 Mar 2025
CVE-2024-58103 Square Wire: Uncontrolled Recursion 5.8 medium 0.45% 16 Mar 2025
CVE-2024-8176 Libexpat: expat: improper restriction of xml entity expansion depth in libexpat 7.5 high 1.35% 14 Mar 2025
CVE-2024-58102 Datalust Seq: Uncontrolled Recursion 5.7 medium 0.35% 11 Mar 2025
CVE-2025-1492 Uncontrolled Recursion in Wireshark 7.8 high 0.30% 20 Feb 2025
CVE-2024-57257 denx U-Boot: Uncontrolled Recursion 2.0 low 0.32% 18 Feb 2025
CVE-2024-57699 A security issue was found in Netplex Json-smart 2.5.0 through 2.5.1 7.5 high 0.58% 5 Feb 2025
CVE-2024-54731 Coherent Graphics CPDF: Uncontrolled Recursion 4.0 medium 0.20% 8 Jan 2025
CVE-2024-49363 Uncontrolled Recursion and Asymmetric Resource Consumption (Amplification) in media/file proxy in Misskey 7.4 high 0.34% 18 Dec 2024
CVE-2023-29001 Uncontrolled recursion due to insufficient validation of the IPv6 source routing header in Contiki-NG 8.7 high 0.56% 27 Nov 2024
CVE-2024-53090 afs: Fix lock recursion 7.5 high 0.68% 21 Nov 2024
CVE-2021-41737 In Faust 2.23.1, an input file with the lines "// r visualisation tCst" and "//process = +: L: abM-^Q;" and "process =… 7.5 high 0.48% 10 Nov 2024
CVE-2024-47831 Next.js image optimization has Denial of Service condition 5.9 medium 0.73% 14 Oct 2024
CVE-2024-31228 Denial-of-service due to unbounded pattern matching in Redis 5.5 medium 1.01% 7 Oct 2024
CVE-2024-7254 Stack overflow in Protocol Buffers Java Lite 8.7 high 2.77% 19 Sep 2024
CVE-2024-34158 Stack exhaustion in Parse in go/build/constraint 7.5 high 1.05% 6 Sep 2024
CVE-2024-43414 Apollo Query Planner and Apollo Gateway may infinitely loop on sufficiently complex queries 7.5 high 0.99% 27 Aug 2024
CVE-2024-42369 A room with itself as a its predecessor will freeze matrix-js-sdk 4.1 medium 0.48% 20 Aug 2024
CVE-2024-44073 The Miniscript (aka rust-miniscript) library before 12.2.0 for Rust allows stack consumption because it does not properly track tree depth 7.5 high 0.63% 19 Aug 2024
CVE-2024-7866 Stack overflow in Xpdf 4.05 due to object loop in PDF pattern 2.1 low 0.22% 15 Aug 2024
CVE-2024-37973 Secure Boot Security Feature Bypass Vulnerability 8.8 high 0.65% 9 Jul 2024
CVE-2024-5971 Undertow: response write hangs in case of java 17 tlsv1.3 newsessionticket 7.5 high 3.01% 8 Jul 2024
CVE-2024-2965 Denial-of-Service in LangChain SitemapLoader in langchain-ai/langchain 4.2 medium 0.30% 6 Jun 2024
CVE-2024-32609 HDF5 Library through 1.14.3 allows stack consumption in the function H5E_printf_stack in H5Eint.c 7.5 high 0.80% 9 May 2024
CVE-2024-4568 Stack overflow in Xpdf 4.05 due to object loop in PDF resources 2.9 low 0.22% 6 May 2024
CVE-2024-4340 Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError. 7.5 high 3.24% 30 Apr 2024
CVE-2024-3248 Stack overflow in Xpdf 4.05 due to object loop in attachments 2.9 low 0.29% 2 Apr 2024
CVE-2024-3247 Stack overflow in Xpdf 4.05 due to object loop in PDF object stream 2.9 low 0.29% 2 Apr 2024
CVE-2023-51803 LinuxServer.io Heimdall before 2.5.7 does not prevent use of icons that have non-image data such as the "<?php ?>" substring 9.8 critical 0.70% 31 Mar 2024