CWE-674: Uncontrolled Recursion, published in 2023
Filter
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
What the weakness is: CWE-674 at MITRE. All weaknesses
Related attack patterns (CAPEC): 2
- CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
- CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-674, as MITRE names them. Credits.
Ask an AI about CWE-674
Show the prompt
Explain CWE-674: Uncontrolled Recursion and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/674.html and https://cve.bz/cve/cwe/674?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
- 6.5CVE-2023-52079kriszyp msgpackrEPSS 0.7%
msgpackr is a fast MessagePack NodeJS/JavaScript implementation. Prior to 1.10.1, when decoding user supplied MessagePack messages, users can trigger stuck threads by crafting messages that keep the decoder stuck in a loop. The fix is avai…
- 7.5CVE-2023-50269squid-cache squidEPSS 58%
Squid is a caching proxy for the Web. Due to an Uncontrolled Recursion bug in versions 2.6 through 2.7.STABLE9, versions 3.1 through 5.9, and versions 6.0.1 through 6.5, Squid may be vulnerable to a Denial of Service attack against HTTP Re…
- 7.5CVE-2023-50262dompdf project dompdfEPSS 1.5%
Dompdf is an HTML to PDF converter for PHP. When parsing SVG images Dompdf performs an initial validation to ensure that paths within the SVG are allowed. One of the validations is that the SVG document does not reference itself. However, …
- 7.5CVE-2023-50251dompdf php-svg-libEPSS 0.9%
php-svg-lib is an SVG file parsing / rendering library. Prior to version 0.5.1, when parsing the attributes passed to a `use` tag inside an svg document, an attacker can cause the system to go to an infinite recursion. Depending on the sys…
- 7.5CVE-2022-47374siemensEPSS 0.7%
A vulnerability has been identified in SIMATIC PC-Station Plus (All versions), SIMATIC S7-400 CPU 412-2 PN V7 (All versions), SIMATIC S7-400 CPU 414-3 PN/DP V7 (All versions), SIMATIC S7-400 CPU 414F-3 PN/DP V7 (All versions), SIMATIC S7-4…
- 7.5CVE-2023-49800johannschopplich nuxt api partyEPSS 0.8%
`nuxt-api-party` is an open source module to proxy API requests. The library allows the user to send many options directly to `ofetch`. There is no filter on which options are available. We can abuse the retry logic to cause the server to …
- 7.5CVE-2023-47163remarshal project remarshalEPSS 1.2%
Remarshal prior to v0.17.1 expands YAML alias nodes unlimitedly, hence Remarshal is vulnerable to Billion Laughs Attack. Processing untrusted YAML files may cause a denial-of-service (DoS) condition.
- 5.5CVE-2023-31794artifex mupdfEPSS 0.3%
MuPDF v1.21.1 was discovered to contain an infinite recursion in the component pdf_mark_list_push. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted PDF file.
- 7.5CVE-2023-4512wiresharkEPSS 0.5%
CBOR dissector crash in Wireshark 4.0.0 to 4.0.6 allows denial of service via packet injection or crafted capture file
- 5.5CVE-2022-48545xpdfreader xpdfEPSS 0.2%
An infinite recursion in Catalog::findDestInTree can cause denial of service for xpdf 4.02.
- 7.5CVE-2020-23804EPSS 1.2%
Uncontrolled Recursion in pdfinfo, and pdftops in poppler 0.89.0 allows remote attackers to cause a denial of service via crafted input.
- 7.5CVE-2023-36632pythonEPSS 1.6%
The legacy email.utils.parseaddr function in Python through 3.11.4 allows attackers to trigger "RecursionError: maximum recursion depth exceeded while calling a Python object" via a crafted argument. This argument is plausibly an untrusted…
- 7.5CVE-2023-2990globalscape eft serverEPSS 0.9%
Fortra Globalscape EFT versions before 8.1.0.16 suffer from a denial of service vulnerability, where a compressed message that decompresses to itself can cause infinite recursion and crash the service
- 7.5CVE-2023-31893telefonica brasil vivo play firmwareEPSS 0.9%
Telefnica Brasil Vivo Play (IPTV) Firmware: 2023.04.04.01.06.15 is vulnerable to Denial of Service (DoS) via DNS Recursion.
- 5.5CVE-2023-2664xpdfreader xpdfEPSS 0.3%
In Xpdf 4.04 (and earlier), a PDF object loop in the embedded file tree leads to infinite recursion and a stack overflow.
- 5.5CVE-2023-2663xpdfreader xpdfEPSS 0.5%
In Xpdf 4.04 (and earlier), a PDF object loop in the page label tree leads to infinite recursion and a stack overflow.
- 7.5CVE-2023-24472openimageioEPSS 1.3%
A denial of service vulnerability exists in the FitsOutput::close() functionality of OpenImageIO Project OpenImageIO v2.4.7.1. A specially crafted ImageOutput Object can lead to denial of service. An attacker can provide malicious input to…
- 5.5CVE-2020-36691linux kernelEPSS 0.2%
An issue was discovered in the Linux kernel before 5.8. lib/nlattr.c allows attackers to cause a denial of service (unbounded recursion) via a nested Netlink policy with a back reference.
- 7.5CVE-2023-1436jettison project jettisonEPSS 1.0%
An infinite recursion is triggered in Jettison when constructing a JSONArray from a Collection that contains a self-reference in one of its elements. This leads to a StackOverflowError exception being thrown.
- 7.5CVE-2023-1370json-smart project json-smartEPSS 1.1%
[Json-smart](https://netplex.github.io/json-smart/) is a performance focused, JSON processor lib. When reaching a ‘[‘ or ‘{‘ character in the JSON input, the code parses an array or an object respectively. It was discovered that the code…
- 7.5CVE-2021-36395moodleEPSS 0.7%
In Moodle, the file repository's URL parsing required additional recursion handling to mitigate the risk of recursion denial of service.
- 5.3CVE-2022-37034dotcmsEPSS 0.9%
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 …
- 7.5CVE-2023-22617powerdns recursorEPSS 7.8%
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.
- 5.5CVE-2022-47662gpacEPSS 0.3%
GPAC MP4Box 2.1-DEV-rev649-ga8f438d20 has a segment fault (/stack overflow) due to infinite recursion in Media_GetSample isomedia/media.c:662