CWE-1122: Excessive Halstead Complexity
The code is structured in a way that a Halstead complexity measure exceeds a desirable maximum.
Last updated
Overview
A variety of Halstead complexity measures exist, such as program vocabulary size or volume.
Common consequences
What can happen when CWE-1122 is exploited.
Reduce Maintainability, Increase Analytical Complexity
Affects: Other
This issue makes it more difficult to understand and/or maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Frequently asked questions
Common questions about CWE-1122.
- What is CWE-1122?
- The code is structured in a way that a Halstead complexity measure exceeds a desirable maximum.
- What are the consequences of CWE-1122?
- Exploiting CWE-1122 can lead to: Reduce Maintainability, Increase Analytical Complexity.
References
- MITRE CWE definition (CWE-1122) (opens in a new tab)
- CWE-1122 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Stay ahead of CWE-1122
Get alerted the moment a new CWE-1122 vulnerability affects your stack, with AI-written analysis, severity context, and remediation guidance.