CWE-1050: Excessive Platform Resource Consumption within a Loop, published in 2024
Filter
The product has a loop body or loop condition that contains a control element that directly or indirectly consumes platform resources, e.g. messaging, sessions, locks, or file descriptors.
What the weakness is: CWE-1050 at MITRE. All weaknesses
Ask an AI about CWE-1050
Show the prompt
Explain CWE-1050: Excessive Platform Resource Consumption within a Loop and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1050.html and https://cve.bz/cve/cwe/1050?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
- 7.5CVE-2024-4068jonschlinkert bracesEPSS 1.8%
The NPM package `braces`, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In `lib/parse.js,` if a malicious user sends "imbalanced braces" as input, the parsing will en…